Compiling Mixed (c++ And Objective-c) Code In Toolchain, How to compile mixed C++ and Objective C code in toolchain? |
By Jonathan A. Zdziarski
Book Price: $39.99 USD
£24.99 GBP
PDF Price: $31.99
Cover | Table of Contents | Forum | Colophon
![]() ![]() |
Compiling Mixed (c++ And Objective-c) Code In Toolchain, How to compile mixed C++ and Objective C code in toolchain? |
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. |
|
|
|
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.
|
|
|
|
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 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 28th August 2008 - 01:11 PM |