Trying to cross-compile gcc 3.3.2 and glibc 2.3.2

Dan Kegel dank@kegel.com
Tue May 4 15:41:00 GMT 2004


Gregory Sacre wrote:
> I'm trying to compile gcc 3.3.2 and glibc 2.3.2 for a cross-compile toolchain. I do these steps:
> 1. configure, make and make install binutils 2.14
> 2. configure, make install-headers glibc 2.3.2 to have headers to compile gcc 3.3.2
> 3. configure, make all-gcc and make install-gcc to have a bootstrap compiler
> 4. configure, make and make install for a complete glibc
> 5. configure, make and make install to have a complete gcc with c++ enabled.
> 
> The problem comes when I try to configure glibc after compiling the bootstrap (step 4). I have this message:
> 
> checking size of long double... configure: error: cannot compute sizeof (long double), 77
> 
> What did I do wrong? If it's needed, I can send the complete cross-compiling script with the options I'm using.
> I work on a Gentoo box.

As Marc said, you can download a convenient automated script
from http://kegel.com/crosstool/crosstool-0.28-rc7.tar.gz
but I have a feeling you simply forgot to set PATH to
pick up the bootstrap compiler and linker.
Google confirms that setting PATH correctly solved this for one user:
http://forums.gentoo.org/viewtopic.php?t=29985
- 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