Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > gcc cross compiler (arm/thumb)

gcc cross compiler (arm/thumb)
Thread Tools
Fresh-Faced Recruit
Join Date: Jul 2001
Status: Offline
Reply With Quote
Jul 26, 2001, 11:33 AM
 
Hi,
I am trying to compile gcc (v2.95.3) to allow me to create code for the gameboy advance. I have to compile it with the target as either arm-elf or thumb-elf. I have some instructions for doing it on linux, but I can't get gcc to compile. It does not like powerpc-apple as the host.

Has anyone compiled gcc on Mac OS X 10.0.4? I know that it is in the Developer tools, but that version was not compiled with the arm/thumb support.

Any help would be appreciated.
Thanks,
John
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jul 26, 2001, 02:20 PM
 
I'm sure I've heard of someone cross-compiling gcc with ARM on Darwin, but I think they might have been using 3.0. I can't tell you where I read it though, but I have a sneaking suspicion it might have been on darwin-development, but I can't see it on a quick search. *shrug*
     
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Kinross, Scotland
Status: Offline
Reply With Quote
Jul 30, 2001, 10:07 AM
 
Originally posted by JohnC:
<STRONG>Hi,
I am trying to compile gcc (v2.95.3) to allow me to create code for the gameboy advance. I have to compile it with the target as either arm-elf or thumb-elf. I have some instructions for doing it on linux, but I can't get gcc to compile. It does not like powerpc-apple as the host.

Has anyone compiled gcc on Mac OS X 10.0.4? I know that it is in the Developer tools, but that version was not compiled with the arm/thumb support.

Any help would be appreciated.
Thanks,
John</STRONG>
You can't compile any version of GCC prior to 3.0-core on MacOS X. Only 3.0 will recognise MacOS X as a host. I've successfully compiled gcc for sh-unknown-elf and arm-unknown-elf using 3.0 on MacOS X. If you need any help, contact me at &lt;mailto:james@essencesw.com&gt;
--
James Milne
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:45 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2