ts-7000
[Top] [All Lists]

[ts-7000] Re: Anyone have directions on how to build crosstools on a Mac

To:
Subject: [ts-7000] Re: Anyone have directions on how to build crosstools on a Mac?
From: "naturalwatt" <>
Date: Thu, 24 Jan 2008 19:10:14 -0000
--- In  Christopher Friedt <> wrote:
>
> Mac os X has it's own binary format called Mach-O. BSD's have their own 
> binary format, I'm sure solaris does too. Kegel doesn't build cross 
> compilers for Mac, as far as I know.
> 
> Martin Guy wrote:
> > ... or use kegel.com/crosstool which should work ok on any Unix ...
> >
>

I finally managed to rebuild crosstool to build a 2.4 kernel, but have given up 
trying to get 
a 2.6 build to work. 

In 10.5, the object file format changed. The supplied gcc creates a directory 
called 
something.dYSM to hold symbolic debug info.  The configure script attempts to 
delete  this 
which obviously fails with the cannot remove directory message.  This causes 
configure to 
complain that the local gcc cannot create executables.

Solution: edit build_binutils/Makefile line 220 to set CFLAGS=-g0, to suppress 
symbolic 
info.

After the upgrade to Leopard, suddenly the crosstool executables reported 
themselves as 
i386 executables, which is annoying as my Mac is a G5 processor. The same 
problem did 
not happen on my Intel Macbook.

Martin



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU