Deprecated
If you are interested in a mac/iOs toolchain for linux, please check out cctools-port, which is being actively developed and supported
This project is a fork of ios-toolchain-based-on-clang. All the credits go to the original authors! If you like this, support the original project/authors and tell them how awesome they are!
What
Mac and iOs toolchain for linux. By providing a compiler, assembler, linker, debugger and some utilities, you will be able to cross compile applications to an iPhone and to a Mac directly from a Linux box.
What changed
This project was forked to serve as a mirror to the original project, and also to enjoy the benefits of git, easily allowing linux users to try on their distros and contribute. Also, the original project depended on some external links / tarballs to be available. To avoid the risk of the links becoming dead, all the files needed for this project are contained within this project. The changes from the original svn project will be merged back. The wrapper around clang was also changed so it can be a simple shell script.
What works
I've fully tested using clang on both iOs and Mac x86_64
targets (the haxe nightly builds are built using it, along with cross-ocaml) on Ubuntu 13.10
. The basics of debugging with lldb on iOs was tested, and uploading the project to iOs (on a jailbroken device) was tested on both iOs 5.0 and 6.0 . Deploying to iOs 7.0 was still not tested.
The rest is expected to work but still wasn't tested by me.
Does it really work?
Yes. :D
How
An effort is being made to make the project compilation as painless as possible. If you're on Ubuntu 13.10, you should be able to compile running the following commands:
git clone --recursive https://github.com/waneck/linux-ios-toolchain.git
cd linux-ios-toolchain
sudo apt-get install gcc g++ clang libclang-dev uuid-dev libssl-dev libpng12-dev libicu-dev bison flex libsqlite3-dev libtool llvm-dev libxml2-dev automake pkg-config
make
sudo make install
Users from other distributions are encouraged to share/submit an issue so we can get it to work with their setup.
How to hxcpp/haxe
SOON