This is the mail archive of the 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: Trying to cross-compile gcc 3.3.2 and glibc 2.3.2

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 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: - Dan

My technical stuff:
My politics: see for examples of why I'm for regime change

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

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