cctools-port/README.md
Thomas Pöchtrager 1b9a93057b update README
2015-03-08 20:09:11 +01:00

1.0 KiB

Apple cctools port for Linux, *BSD and Windows (Cygwin)

Current Version: 862 + ld64-241.9.
Originally ported by cjacker.

SUPPORTED HOSTS

Linux
FreeBSD
NetBSD
OpenBSD
DragonFlyBSD
Windows (Cygwin)
Mac OS X
iOS

SUPPORTED TARGETS

armv4t, armv5, armv6, armv7, armv7f, armv7k, armv7s, armv6m
armv7m, armv7em, armv8, arm64, arm64v8, i386, x86_64 and x86_64h.

DEPENDENCIES

Clang 3.2+ or gcc 4.5+, automake, autogen and libtool.

On non-Mac OS X systems you also need to install:

uuid-devel and openssl-devel.

Optional, but recommended deps:

llvm-devel (Enables Link Time Optimization)

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.