본문 바로가기
#컴퓨터 과학 [Computer Science]/운영체제 (Operating System)

[OS - 🍎 macOS] 프로젝트에 libzip 적용하기

by cy_mos 2023. 7. 23.
반응형

1. liblzma

1. 

CFLAGS="-mmacosx-version-min=10.13 -arch x86_64 -arch arm64" CXXFLAGS="-mmacosx-version-min=10.13 -arch x86_64 -arch arm64" ./configure --disable-shared --enable-static
make

2. xz-5.4.3/src/liblzma/.libs 경로 아래에 liblzma.a 정적 라이브러리 파일 생성을 확인합니다.

 

2. libz

1.

CFLAGS="-mmacosx-version-min=10.13 -arch x86_64 -arch arm64" CXXFLAGS="-mmacosx-version-min=10.13 -arch x86_64 -arch arm64" ./configure --static
make

2. zlib-1.2.13 경로 아래에 libzip.a 정적 라이브러리 파일 생성을 확인합니다.


 

XZ Utils

XZ Utils XZ Utils is free general-purpose data compression software with a high compression ratio. XZ Utils were written for POSIX-like systems, but also work on some not-so-POSIX systems. XZ Utils are the successor to LZMA Utils. The core of the XZ Utils 

tukaani.org

 

zlib Home Site

<!-- H4 ALIGN="center" IMG WIDTH=42 HEIGHT=44 ALIGN="middle" SRC="images/happyicon.png" ALT="[happy face, because it's so darned useful!]" /H4 --> A Massively Spiffy Yet Delicately Unobtrusive Compression Library (Also Free, Not to Mention Unencumbered by 

zlib.net

반응형

댓글