Page 2 of 2

Re: xCode 4.3+ and NASM

Posted: Thu Jul 26, 2012 5:39 pm
by J. Baker
wilbert wrote:The update is $19.99 .
What worries me a bit is that I read somewhere that XCode doesn't support the gcc compiler anymore, only llvm .
One of my iOS apps didn't compile properly using llvm on Lion.
What can I do to verify for you? Do you have a small sample code I can compile and try?

Re: xCode 4.3+ and NASM

Posted: Thu Jul 26, 2012 5:55 pm
by wilbert
It's not a few simple lines of code to test.
I could get my code to compile but due to some bug the behavior on my iOS device was not exactly as it should be.

What you could do is check what compilers are supported.
When you check the Build Settings of one of your own apps, under Build Options there is a line Compiler for C/C++/Objective-C (at least there is in the Xcode version I'm currently using).
The choices I have are Apple LLVM compiler 3.0 and LLVM GCC 4.2 (the one I'm using currently).
Can you tell me what options you have if there are any ?

Re: xCode 4.3+ and NASM

Posted: Thu Jul 26, 2012 6:08 pm
by J. Baker
I have Apple LLVM compiler 4.0 and LLVM GCC 4.2. ;)

Re: xCode 4.3+ and NASM

Posted: Thu Jul 26, 2012 6:24 pm
by wilbert
J. Baker wrote:I have Apple LLVM compiler 4.0 and LLVM GCC 4.2. ;)
Thanks :D

Re: xCode 4.3+ and NASM

Posted: Thu Jul 26, 2012 6:29 pm
by srod
Yes I did read that you should be able to choose between LLVM and GCC and even choose to use the GCC frontend with LLVM (or vice versa using Clang, I can't remember which! :) )

Re: xCode 4.3+ and NASM

Posted: Thu Jul 26, 2012 6:37 pm
by J. Baker
wilbert wrote:
J. Baker wrote:I have Apple LLVM compiler 4.0 and LLVM GCC 4.2. ;)
Thanks :D
No problem. That's in xCode 4.4. There is a beta 4.5 but I don't believe that version can be used for submitting until it's final. Maybe you already knew that. ;)

Re: xCode 4.3+ and NASM

Posted: Thu Jul 26, 2012 7:26 pm
by WilliamL
Interesting J. Baker!

I think I'll wait to see how it goes for you before I upgrade. :)

Re: xCode 4.3+ and NASM

Posted: Mon Aug 06, 2012 6:02 pm
by Fred
nasm is now packaged with PB since 4.70, so such issue shouldn't raise anymore.