Page 1 of 1

Note for OS X Lion users following the Cross Compiler entry

Posted: Sat Feb 09, 2013 4:41 am
by Nathan
After wasting 4 hours yesterday trying to get a version of the old apple-gcc that was included with the old Xcode without any success (most blogs have outdated information), I found the solution on a StackExchange answer. So, to make the life of other users easier I've edited the GCC_Cross-Compiler entry to include the link as a note.

Is that ok?

Re: Note for OS X Lion users following the Cross Compiler en

Posted: Sat Feb 09, 2013 4:48 am
by Owen
The better option on recent versions of OS X (which doesn't involve installing ancient versions of GCC) is to use Clang

Re: Note for OS X Lion users following the Cross Compiler en

Posted: Sat Feb 09, 2013 7:02 am
by Nathan
Oh! I didn't knew that was possible (at least it isn't in the cross-compiler entry). Is there any entry in the wiki about using clang instead of gcc?

Re: Note for OS X Lion users following the Cross Compiler en

Posted: Sat Feb 09, 2013 2:00 pm
by Love4Boobies
Nathan wrote:Is there any entry in the wiki about using clang instead of gcc?
Clang and GCC are mostly compatible so it's not very different. As with every compiler, what you need to do is check the documentation for options to disable any OS or library-specific features.