bootstrapping gnat GCC on amd64

xorquewasp at googlemail.com xorquewasp at googlemail.com
Tue May 19 11:45:53 UTC 2009


On 2009-05-18 18:36:15, Daniel Eischen wrote:
> Well, I used a newer binutils on sparc when I did the original
> port.  Once I built the cross compiler and binutils toolset,
> I was done with it.  After the native compiler is built using
> the cross tools, you should be able to rebuild the native
> compiler _again_ but this time with the system (amd64)
> binutils.

I probably should point out that I don't think this is the case anymore.

GCC apparently detects what capabilities the currently selected binutils
have so when the first native compiler has been compiled using the
cross, it will emit code that can't be assembled using the system
binutils (because it uses features from the new binutils that aren't
supported by the older system ones). In other words, you can't rebuild the
native compiler using the system binutils.

If the worst comes to the worst, I can create a dependency on the
devel/cross-binutils port.

xw


More information about the freebsd-hackers mailing list