Hello everybody, I've tried to build gcc-4.5 to play with it's new features but unfortunately build failed. I am using Fedora 12 x86_64 as host system and tried to build native compiler. The error looked like this: /home/druid/gcc-4.5/gcc-4.5- 20100311/build/./gcc/xgcc -B/home/druid/gcc-4.5/gcc-4.5-20100311/build/./gcc/ -B/home/druid/usr/x86_64-unknown-linux-gnu/bin/ -B/home/druid/usr/x86_64-unknown-linux-gnu/lib/ -isystem /home/druid/usr/x86_64-unknown-linux-gnu/include -isystem /home/druid/usr/x86_64-unknown-linux-gnu/sys-include -g -O2 -m32 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../.././gcc -I../../../../libgcc -I../../../../libgcc/. -I../../../../libgcc/../gcc -I../../../../libgcc/../include -I../../../../libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../../libgcc/../gcc/libgcc2.c \ -fvisibility=hidden -DHIDE_EXPORTS In file included from /usr/include/features.h:376:0, from /usr/include/stdio.h:28, from ../../../../libgcc/../gcc/tsystem.h:87, from ../../../../libgcc/../gcc/libgcc2.c:29: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory That file, stubs.h contains the following: /* This file selects the right generated file of `__stub_FUNCTION' macros based on the architecture being compiled for. */ #include <bits/wordsize.h> #if __WORDSIZE == 32 # include <gnu/stubs-32.h> #elif __WORDSIZE == 64 # include <gnu/stubs-64.h> #else # error "unexpected value for __WORDSIZE macro" #endif and included file wordsize.h looks like this: #if defined __x86_64__ # define __WORDSIZE 64 # define __WORDSIZE_COMPAT32 1 #else # define __WORDSIZE 32 #endif So it seems that __x86_64__ is not set. And it is not defined anywhere in my /usr/include I've never tried to build gcc before and I'm not familiar with build process. Where should it be set? In my includes? In gcc includes or as command line options? p.s. The build sequence was as follows: mkdir build cd build ../configure --disable-bootstrap --enable-languages=c++ --prefix=/home/druid/usr make p.p.s My system has gcc-4.4.3 20100127 (Red Hat 4.4.3-4) installed. Thanks.