ld64 build for Linux - EXPERIMENT for using Mach-Os for Darling's libs
Go to file
Thomas Pöchtrager fe05cf12b2 fix ld64 to compile with libstdc++
fix automake warnings
2014-05-08 22:13:21 +02:00
cctools fix ld64 to compile with libstdc++ 2014-05-08 22:13:21 +02:00
tools fix ld64 to compile with libstdc++ 2014-05-08 22:13:21 +02:00
.gitignore cctools: make is_llvm_bitcode() more portable (fixes -flto with multiple -arch flags) 2014-02-15 14:54:10 +01:00
package.sh support NetBSD 2014-03-30 15:51:58 +02:00
README.md merge ld64-236.3 2014-05-08 21:18:54 +02:00

Apple cctools port for Linux, FreeBSD and NetBSD

Current Version: 855 + ld64-236.3
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.