mirror of
https://github.com/darlinghq/cctools-port.git
synced 2024-11-23 04:09:48 +00:00
ld64 build for Linux - EXPERIMENT for using Mach-Os for Darling's libs
3833a7ce54
ld64: use faster strlcpy()/strlcat() "helper" implementations ld64: fix qsort_r() helper function fix emulated _NSGetExecutablePath() for FreeBSD fix -luuid linkage issue on FreeBSD 10 Conflicts: cctools/configure.ac |
||
---|---|---|
cctools | ||
tools | ||
.gitignore | ||
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.