This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: configure: error: cannot compute sizeof (long double), 77


> Turns out he's trying to build an x86_64 on
> an x86_64 system that is running a 32 bit OS [Debian].
> 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

I got lucky; hacking crosstool/config.guess to
output the right string did indeed make the problem go away.

Oddly, on my fresh ubuntu 32 bit x86_64 system,
config.guess outputs
 i686-pc-linux-gnulibc1
yikes, what's that gnulibc1 suffix?   That's wrong!

Looks like config.guess has two bugs!
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]