cross-building a native compiler (was: Re: Build for x86_64)

Greg Chandler
Thu Jul 1 19:48:00 GMT 2004

I read what you wrote, and I do know the steps I have to jump though to
make a full native build...  My problem is that I don't know what flags,
or what combinations I need for each step.  Or the environment variables
to go with them.

I'm thinking it should look something like:
./configure --build=i686-unkown-linux.gnu \
--target=x86_64-unknown-linux-gnu \

Do you know?

> > 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
> for what little I *have* written.
> See also
> 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

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list