Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build Apple's GCC on Linux/Windows?

Tags:

ios

gcc

iphone

I don't have a Mac, but I have an iPhone. I want to develop applications for iPhone. After some research I think I need just the headers and library from the free SDK, and a GCC build that supports ARM/Mach-O. Apple released the code for GCC used in the iPhone SDK (they had to), So I think if I could build it on Windows or Linux, I can use it with the headers and libs from the SDK to develop iPhone apps.

I can then install the app on any Jailbroken iPhone.

How to build it on any non Apple machine?

like image 739
Bahaa Zaid Avatar asked Feb 10 '09 19:02

Bahaa Zaid


People also ask

Does Mac Have gcc compiler?

Done, the gcc version 4.2. 1 is installed on Mac OS X successfully.


1 Answers

Look into winchain - this tool builds the iphone chain on windows allowing you to compile iphone apps on windows:

http://code.google.com/p/winchain/wiki/HowToUse

-Adam

like image 189
Adam Davis Avatar answered Sep 22 '22 08:09

Adam Davis