cross-building a native compiler (was: Re: Build for x86_64)
Dan Kegel
dank@kegel.com
Tue Jun 29 01:22:00 GMT 2004
Greg Chandler wrote:
> I changed the scripts for x86_64 to use the gcc 3.3.4 20040623 snapshot,
> and it built fine and works on Slackware 10.0. So I would assume it
> works on everything. The current script points to a snapshot that is no
> longer available.
>
> I've built a 64bit kernel with the compiler to test it, and it boots, so I
> think it should be fine.
Good to hear.
> Do you know of any good howto's to build a native compiler from a cross
> compiler? I've built the cross to build x86_64 elfs, but I would like to
> build a native. I don't have the headers or libraries to build a native
> so I'm not sure where to look.
I've done it, but have yet to write a howto.
See http://www.kegel.com/crosstool/crosstool-0.28-rc25/doc/crosstool-howto.html#canadian
for what little I *have* written.
See also http://sources.redhat.com/ml/crossgcc/2004-06/msg00161.html
for a tweak you have to make to the resulting final spec file
to coax the cross-built compiler into realizing it's native
and not cross.
- Dan
--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list