xCode 4.3+ and NASM

Mac OSX specific forum
User avatar
J. Baker
Addict
Addict
Posts: 2181
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: xCode 4.3+ and NASM

Post 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?
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3942
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: xCode 4.3+ and NASM

Post 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 ?
User avatar
J. Baker
Addict
Addict
Posts: 2181
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: xCode 4.3+ and NASM

Post by J. Baker »

I have Apple LLVM compiler 4.0 and LLVM GCC 4.2. ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3942
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: xCode 4.3+ and NASM

Post by wilbert »

J. Baker wrote:I have Apple LLVM compiler 4.0 and LLVM GCC 4.2. ;)
Thanks :D
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: xCode 4.3+ and NASM

Post 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! :) )
I may look like a mule, but I'm not a complete ass.
User avatar
J. Baker
Addict
Addict
Posts: 2181
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: xCode 4.3+ and NASM

Post 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. ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
WilliamL
Addict
Addict
Posts: 1252
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Re: xCode 4.3+ and NASM

Post by WilliamL »

Interesting J. Baker!

I think I'll wait to see how it goes for you before I upgrade. :)
MacBook Pro-M1 (2021), Sequoia 15.4, PB 6.20
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: xCode 4.3+ and NASM

Post by Fred »

nasm is now packaged with PB since 4.70, so such issue shouldn't raise anymore.
Post Reply