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 > Cross-compiler under OS X

Cross-compiler under OS X
Thread Tools
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Mounds View, MN USA
Status: Offline
Reply With Quote
Mar 9, 2001, 04:31 PM
 
I have been reading through several posts trying to determine how to compile the GNU tools (gcc, binutils, gdb, ...) under OS X in an attempt to create m68k-coff and powerpc-eabi cross compilers (for embedded systems). So far I have tried copying the config.* files from /usr/libexec/ and tried ./configure, but after much processing the configure process fails indicating the following:

Configuration powerpc-apple-darwin1.2 not supported
Configure in /users/admin/download/crossgcc/gcc-2.95.2/gcc failed, exiting.

Anyone have any ideas? (I am actually logged in as 'root', but just dumped all of the utilities in my 'admin' directory) I already have the developer tools installed (cc does work).

Also, how does one enable Finder to "see" invisible files/folders?

Thanks,
Darrik
     
dspaude  (op)
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Mounds View, MN USA
Status: Offline
Reply With Quote
Mar 9, 2001, 05:10 PM
 
I removed Makefile and config. from the src directory and now it seems to get farther, but I get this error:


configure: error: source directory already configured; run make distclean there first
Configure in /users/admin/download/crossgcc/b-m68k-coff/opcodes failed, exiting.

I moved to the gcc-2.95.2 directory and did 'make distclean' and tried running 'sh build-cross.sh m68k-coff' but that failed with the same error.


Here's my "CrossGCC" directory:
.DS_Store build-cross.sh glibc-2.2.2 src
b-m68k-coff gcc-2.95.2 newlib-1.9.0 tars
binutils-2.10.1 gdb-5.0 one-tree-1.6.sh

Darrik
     
Senior User
Join Date: Feb 2001
Location: Rochester, uk
Status: Offline
Reply With Quote
Mar 10, 2001, 01:52 PM
 
The only thing i can suggest is that you wait for Apple to do it for you - they're trying to get their cc merged with the official gcc , so you could get all the tools provided with either 1.0 or the first update.

At least, don't tear your hair out until you find out

All words are lies. Including these ones.
     
   
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 12:33 PM.
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