An open API service indexing awesome lists of open source software.

https://github.com/waneck/linux-ios-toolchain

Compile ios programs on linux (fork of http://code.google.com/p/ios-toolchain-based-on-clang-for-linux/ )
https://github.com/waneck/linux-ios-toolchain

Last synced: 3 months ago
JSON representation

Compile ios programs on linux (fork of http://code.google.com/p/ios-toolchain-based-on-clang-for-linux/ )

Awesome Lists containing this project

README

          

# Deprecated
If you are interested in a mac/iOs toolchain for linux, please check out [cctools-port](https://github.com/tpoechtrager/cctools-port/), which is being actively developed and supported

*This project is a fork of [ios-toolchain-based-on-clang](http://code.google.com/p/ios-toolchain-based-on-clang-for-linux/). All the credits go to the original authors! If you like this, support the original project/authors and tell them how awesome they are!*

[![Build Status](https://travis-ci.org/waneck/linux-ios-toolchain.svg?branch=master)](https://travis-ci.org/waneck/linux-ios-toolchain)

## 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](http://haxe.org) nightly builds are built using it, along with [cross-ocaml](https://github.com/waneck/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:

```bash
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