Compiling for iPhone?

David Shaw dshaw at
Wed Feb 4 15:14:56 CET 2009

On Feb 4, 2009, at 6:12 AM, Jeff Thorpe wrote:

> Having trouble with servers, so if this is duplicated, I apologize  
> on this account too...
> Apologies if I’m on the wrong list...
> I am trying to get gnupg-1.4.9 compiled with IDEA for the iPhone.   
> This was possible on the iPhone itself under the 1.1.4 firmware, but  
> since the upgrade to 2.2, gcc on it isn’t so swell.  So, I have  
> tried to compile it on my MacBook with the iPhone SDK, but don’t  
> really know anything.  (I am not a developer).  The only generic  
> instructions for cross-compiling to the iPhone included a generic  
> Makefile that would install the developers app (over WiFi to the  
> jailbroken iPhone), but this doesn’t fit with gnupg, which  
> apparently generates its own Makefile, and so when I fumble about, I  
> just end up compiling for my MacBook.

Point me towards these generic instructions and I'll take a look.

If you have the iPhone SDK, you have the right compiler and toolchain  
for building (it's an ARM device), but there may be some special magic  
involved at some step.


More information about the Gnupg-devel mailing list