ld64 build for Linux - EXPERIMENT for using Mach-Os for Darling's libs
Go to file
Thomas Pöchtrager 3833a7ce54 cctools: make is_llvm_bitcode() more portable (fixes -flto with multiple -arch flags)
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
2014-02-15 14:54:10 +01:00
cctools cctools: make is_llvm_bitcode() more portable (fixes -flto with multiple -arch flags) 2014-02-15 14:54:10 +01:00
tools add DISABLE_LTO_SUPPORT option 2013-12-15 13:28:53 +01: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 fix archiver (ar) on 32 bit systems 2013-12-15 10:07:45 +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.