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?
Note for OS X Lion users following the Cross Compiler entry
- Owen
- Member
- Posts: 1700
- Joined: Fri Jun 13, 2008 3:21 pm
- Location: Cambridge, United Kingdom
- Contact:
Re: Note for OS X Lion users following the Cross Compiler en
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
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?
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Note for OS X Lion users following the Cross Compiler en
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.Nathan wrote:Is there any entry in the wiki about using clang instead of gcc?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]