mirror of
https://github.com/darlinghq/cctools-port.git
synced 2024-11-23 12:19:40 +00:00
ld64 build for Linux - EXPERIMENT for using Mach-Os for Darling's libs
643e593770
update package script |
||
---|---|---|
cctools | ||
tools | ||
package.sh | ||
README.md |
Apple cctools port for Linux and FreeBSD
Current Version: 845 + ld64-136
Originally ported by cjacker from the ios-toolchain-for-linux project.
INSTALLATION
Make sure you have the following installed on your Linux box:
Clang 3.2+
, llvm-devel
, automake
, autogen
,
libtool
, uuid-devel
and openssl-devel
.
Then type:
cd cctools
./autogen.sh
./configure --prefix=<installdir> --target=<target>
make
make install
target = i386-apple-darwin11
, x86_64-apple-darwin11
, arm-apple-darwin11
, ...
If you get compile errors because of unistd.h
, then please run
../tools/fix-unistd-issue.sh
in the cctools directory and restart compiling.