OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 8:11 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Note for OS X Lion users following the Cross Compiler entry
PostPosted: Sat Feb 09, 2013 4:41 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 201
Location: Brazil
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?

_________________
About.Me - Blog


Top
 Profile  
 
 Post subject: Re: Note for OS X Lion users following the Cross Compiler en
PostPosted: Sat Feb 09, 2013 4:48 am 
Offline
Member
Member
User avatar

Joined: Fri Jun 13, 2008 3:21 pm
Posts: 1700
Location: Cambridge, United Kingdom
The better option on recent versions of OS X (which doesn't involve installing ancient versions of GCC) is to use Clang


Top
 Profile  
 
 Post subject: Re: Note for OS X Lion users following the Cross Compiler en
PostPosted: Sat Feb 09, 2013 7:02 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 201
Location: Brazil
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?

_________________
About.Me - Blog


Top
 Profile  
 
 Post subject: Re: Note for OS X Lion users following the Cross Compiler en
PostPosted: Sat Feb 09, 2013 2:00 pm 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2111
Location: Bucharest, Romania
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.

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group