[haiku-development] Re: Building GCC 2.95 in a x86_64 machine.

2007/11/8, Bruno Albuquerque <bga@xxxxxxxxxxxxx>:
>
> Pier Luigi Fiorini wrote:
>
> >     make[1]: Leaving directory
> >
> `/usr/local/google/home/bga/haiku/haiku/trunk/generated/cross-tools-build/binutils'
> >     Configuring for a x86_64-unknown-linux-gnu host.
> >     Invalid configuration `x86_64-unknown-linux-gnu': machine
> >     `x86_64-unknown' not recognized
> >     Invalid configuration `x86_64-unknown-linux-gnu': machine
> >     `x86_64-unknown' not recognized
> >     Unrecognized host system name x86_64-unknown-linux-gnu.
> >
> >     Any ideas?
> >
> >
> > I tried building it and always failed, it seems that on x86_64 gcc4 is
> > the only option, the 2.95.3 release is too old.
>
> If at least I could figure out what exactly it failed to configure, I
> could try to sort it up (maybe it is as easy as adding an entry to
> "x86_64-unknown-linux-gnu" in the configure file. But I could not really
> figure it out form the output and I am way too busy right now to try an
> empirical process.
>
>
maybe run the whole configuration and building under linux32...
try:

$ linux32 bash
$ uname -m.

it should tell you are in a i686 machine, anyway there should be a way to
tell gcc 2.96.3's configure your host is not x86_64-unknwnon-linux-but but
something like i686-pc-linux-gnu (under a linux32 environment).

-- 
Pier Luigi Fiorini
http://plfiorini.blogspot.com

Other related posts: