This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Preventing bi-arch compile on x86_64
- From: "dblankley at iwon dot com" <dblankley at iwon dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 14 Sep 2005 11:21:04 -0400 (EDT)
- Subject: Preventing bi-arch compile on x86_64
- Reply-to: dblankley at iwon dot com
Can anyone tell me the flags and appropriate parameter values for turning off the bi-arch compile for GCC4.0.1 on AMD64 platforms please? I have been unable to successfully do this.
I have been playing around with the enable-targets and build flags without much success.
Alternately, suggestions on where to look to edit the config/makefiles would be appreciated as well.
My problem is that if you don't have the 32bit stuff installed the compilation fails. Specifically:
./xgcc -B./ -B/usr/local/x86_64-redhat-linux/bin/ -isystem /usr/local/x86_64-redhat-linux/include -isystem /usr/local/x86_64-redhat-linux/sys-include -L/home/emanon/downloads/401gcc/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I32 -I../../gcc-4.0.1/gcc -I../../gcc-4.0.1/gcc/32 -I../../gcc-4.0.1/gcc/../include -I../../gcc-4.0.1/gcc/../libcpp/include -m32 -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer -fno-asynchronous-unwind-tables \
-c ../../gcc-4.0.1/gcc/crtstuff.c -DCRT_BEGIN \
-o 32/crtbegin.o
In file included from /usr/include/features.h:337,
from /usr/include/stdio.h:28,
from ../../gcc-4.0.1/gcc/tsystem.h:90,
from ../../gcc-4.0.1/gcc/crtstuff.c:64:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
Thanks for any help/suggestions.
Regards,
Dave Blankley
_______________________________________________