configure: error: cannot compute sizeof (long double), 77
Mike Frysinger
vapier@gentoo.org
Thu Jan 26 02:23:00 GMT 2006
On Wednesday 25 January 2006 20:26, Dan Kegel wrote:
> On 1/25/06, Mike Frysinger <vapier@gentoo.org> wrote:
> > On Wednesday 25 January 2006 18:34, Martin Bligh wrote:
> > > configure: error: cannot compute sizeof (long double), 77
> >
> > read the config.log file ... it'll point you in the direction of the real
> > issue
>
> Martin and I chatted offlist. Turns out he's trying to build an x86_64 on
> an x86_64 system that is running a 32 bit OS. config.guess
> reports x86_64-unknown-linux-gnu. Perhaps that made configure
> think this wasn't a cross-build. Replacing crosstool's config.guess with
> echo i686-pc-linux-gnu
> is probably a valid workaround. I'm trying it now on Martin's machine
> (how nice to be trusted :-)
it should work regardless ... if you run an x86 32bit userland on an amd64
64bit kernel, `uname -m` should report 'i686' rather than 'x86_64' ... or at
least, that's the trick 'linux32' does for you when you chroot into a 32bit
root so that things just work ...
-mike
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
More information about the crossgcc
mailing list