On Mon, Feb 13, 2006 at 01:21:22PM -0700, Ronald G Minnich said:
>
> The reason I wanted to start with gcc 0.9, a few years ago, was that in
> the early days gcc would compile under just about any OS and C compiler
> -- the newer gcc's only seem to compile under gcc. So you start with gcc
> 0.9, get it to build under native plan 9, not APE, then bootstrap your
> way forward to current. I have no idea if this will work, but I did
> bootstrap gcc onto a lot of weird machines 15 years ago. It looks much
> harder, however, to drop gcc 4.0 onto a non-gcc-like C compiler and get
> it to go!
I think it is much easier to build cross-compiler of the latest gcc version
on some other OS and then use it to build the native Plan9 version.
> ldscript stuff.
You want to use GNU binutils? It would be very hard to make GNU binutils to
support Plan9 object file format. The options are to use ?c/?l/acid and lose
the GNU binutils features, or to use some object format supported by GNU
binutils and compile everything (even the kernel ;) with gcc and gnu binutils.
Thanks,
Lucho