This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
build gcc on amd64 with --enable-multilib: won't find libc
- From: Gabriel de Perthuis <Gabriel dot de-Perthuis at laPoste dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 3 Jan 2005 17:33:58 +0000 (UTC)
- Subject: build gcc on amd64 with --enable-multilib: won't find libc
Hello,
I'm trying to get gcc-3.4 built with -m32 support.
When building ia32 support libraries, such as libgcc_s_32, linking fails for
lack of libc.
My 32-bit libc is installed in /usr/lib32, and steps that fail work when I add a
-Wl,-L/usr/lib32 to xgcc's options.
Does anyone know how to hack the makefiles or the configure scripts so that I
can add this path without manually fixing every command?
Thanks for your help with these dirty issues,
Gabriel de Perthuis