cctools-port/README.md

46 lines
1.1 KiB
Markdown
Raw Normal View History

# Apple cctools port for Linux, *BSD and Windows (Cygwin) #
2013-11-14 19:54:29 +00:00
2014-11-21 21:10:18 +00:00
Current Version: 862 + ld64-241.9.
Originally ported by [cjacker](http://ios-toolchain-based-on-clang-for-linux.googlecode.com).
2013-11-14 19:54:29 +00:00
## SUPPORTED HOSTS ##
Linux
FreeBSD
NetBSD
OpenBSD
2015-03-08 19:09:11 +00:00
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 ##
2013-11-14 19:54:29 +00:00
`Clang 3.2+ or gcc/g++/gcc-objc 4.5+`, `automake`, `autogen` and `libtool`.
2013-11-14 19:59:27 +00:00
On non-Mac OS X systems you also need to install:
2013-11-14 19:59:27 +00:00
`uuid-devel` and `openssl-devel`.
Optional, but recommended deps:
`llvm-devel` (Enables Link Time Optimization)
## INSTALLATION ##
2013-11-14 19:54:29 +00:00
* `cd cctools`
2013-11-14 19:59:27 +00:00
* `./autogen.sh`
* `./configure --prefix=<installdir> --target=<target> [--with-llvm-config=...]`
2013-11-14 19:54:29 +00:00
* `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.