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
cctools | ||
tools | ||
usage_examples/ios_toolchain | ||
.gitignore | ||
.merge.log | ||
.travis.yml | ||
package.sh | ||
README.md |
Apple cctools port for Linux, *BSD and Windows (Cygwin)
Current Version: 870 + ld64-134.9.
Originally ported by cjacker.
SUPPORTED HOSTS
SUPPORTED OPERATING SYSTEMS:
Linux, FreeBSD, NetBSD, OpenBSD, DragonFlyBSD,
Windows (Cygwin), Mac OS X and iOS
SUPPORTED HOST ARCHITECTURES:
x86, x86_64, arm
Untested, but compiles:
aarch64, ppc, ppc64
SUPPORTED TARGETS
armv4t, armv5, armv6, armv7, armv7f, armv7k, armv7s, i386 and x86_64.
DEPENDENCIES
Clang 3.2+ or gcc/g++/gcc-objc 4.5+
, automake
, autogen
and libtool
.
Optional, but recommended:
llvm-devel
(For Link Time Optimization Support)
uuid-devel
(For ld64 -random_uuid
Support)
INSTALLATION
cd cctools
./autogen.sh
./configure --prefix=<installdir> --target=<target> [--with-llvm-config=...]
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
and restart compiling.