How to build Apple GCC on Linux / Windows?

I do not have a Mac, but I have an iPhone. I want to develop applications for the iPhone. After some research, it seems to me that I only need the headers and libraries from the free SDK and the GCC assembly that supports ARM / Mach-O. Apple released the code for the GCC, which was used in the iPhone SDK (they should). Therefore, I think that if I could build it on Windows or Linux, I can use it with headers and libraries from the SDK to develop applications for the iPhone.

Then I can install the application on any iPhone with jailbroken.

How to create it on any Apple machine?

+6
gcc ios iphone
source share
2 answers

Take a look at winchain - this tool creates a chain of iphone on windows, allowing you to compile iphone applications in windows:

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

-Adam

+4
source share

Check the iOS Build Environment for Windows . From what I see, it uses the llvm compiler and is updated frequently. You can use it with your own editor or use the stand-alone wizard to create a Visual Studio project (works with both VC ++ and VC ++ express). The only drawback is that it has a demo version and donation is required for the full version. However, I expect that you can use the toolchain included in the demo without any problems.

I downloaded the demo and played along with my own project and provided samples. It compiles just fine. Unfortunately, I can’t check the results on my devices, since none of them are currently hacked.

+2
source share

All Articles