ld64 build for Linux - EXPERIMENT for using Mach-Os for Darling's libs
Go to file
2013-12-14 10:11:10 +01:00
cctools fix emulated _NSGetExecutablePath() function 2013-12-14 10:11:10 +01:00
tools always build ld64, regardless if we are on a 64 bit system or not 2013-12-08 21:38:09 +01:00
package.sh FreeBSD port 2013-12-14 09:56:01 +01:00
README.md FreeBSD port 2013-12-14 09:56:01 +01:00

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.