BUY THIS BOOK
Add to Cart

PDF $31.99

Safari Books Online

What is this?

Looking to Reprint or License this content?

iPhone Open Application Development
iPhone Open Application Development Write Native Objective-C Applications for the iPhone

By Jonathan A. Zdziarski
Book Price: $39.99 USD
£24.99 GBP
PDF Price: $31.99

Cover | Table of Contents | Forum | Colophon


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Compiling Mixed (c++ And Objective-c) Code In Toolchain, How to compile mixed C++ and Objective C code in toolchain?
Muhammad Ali
post Jun 16 2008, 06:26 AM
Post #1


New Member
*

Group: Members
Posts: 2
Joined: 15-June 08
Member No.: 402



Hi Guys,

I've been developing an application for iPhone that contains mixed code (Objective C and C++). Doing the same in toolchain results in compilation errors. Even I cannot get a simple C++ class compiled in the toolchain. Any ideas would be welcome.

Actually if I use XCode (Apple wizard etc) and Apple SDK I cannot run the application on iPhone reason being I didn't have the certificate so I jailbreak it and used the toolchain.

Any help or direction will be great! Thanks.
Go to the top of the page
 
+Quote Post
Muhammad Ali
post Jul 2 2008, 11:49 AM
Post #2


New Member
*

Group: Members
Posts: 2
Joined: 15-June 08
Member No.: 402



Way too simple .. Just use arm-apple-darwin-g++ .. Figured it out quite early but forgot to post the solution. Hope it helps someone.
Go to the top of the page
 
+Quote Post
Sarah Kim
post Jul 3 2008, 08:16 PM
Post #3


Active Member
***

Group: Administrators
Posts: 82
Joined: 12-November 07
Member No.: 6



Hi Muhammad,

Thanks for coming back and posting what you discovered.

Cheers!
Sarah
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 28th August 2008 - 01:11 PM