--- 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/
|