Am4d
Am4d

Reputation: 25

Trying to set up iPhone-gcc compiler

So I've installed iPhone-gcc, make and ldid from cydia, i can't compile yet though because I don't have the headers setup. I've looked around and there's not really much info on setting up the headers, librarys and frameworks. I just need to know where to extract them from the sdk and where to place them on my iPhone.

I've been trying to get this to work for a while, Any help would be great. Thanks Adam M

Upvotes: 1

Views: 2987

Answers (2)

overboming
overboming

Reputation: 1542

This script automatically setup iphone toolchain for you, runs on Mac OS X, thanks to @rpetrich. http://gist.github.com/403608

First, remember to apt-get remove iphone-gcc on your iphone before running this script on your mac, if you don't want to collect headers files from iphone sdk, follow the Darwin arm part of the script and I think you should be good. This works for me out of the box.

Upvotes: 0

MaxChinni
MaxChinni

Reputation: 1216

I found everything in package com.bigboss.20toolchain.
After installation, I found headers:

root # aptitude install com.bigboss.20toolchain
root # dpkg -L com.bigboss.20toolchain | grep stdio\.h         
/var/include/stdio.h
/var/include/xlocale/_stdio.h
root # 

Upvotes: 1

Related Questions