Error building GCC4.1.2 on WinXP/MinGW

Ken Klose ken.klose@future-skies.com
Thu May 10 18:10:00 GMT 2007


Hi,

I'm trying to build the 4.1.2 snapshot on WinXP with MinGW.  I tried:

sh-2.04$ ../gcc-4.1.2/configure --with-gmp-include=/c/c++/gmp-4.2.1 --with-gmp-lib=/c/c++/gmp-4.2.1 --with-mpfr-include=/c/c++/mpfr-2.2.1 --with-mpfr-lib=/c/c++/mpfr-2.2.1

sh-2.04$ make

The build processes for a while before I get the error below.

Thanks in advance for any help! 

Ken

/c/c++/gcc-build/./gcc/xgcc -B/c/c++/gcc-build/./gcc/ -B/usr/local/i686-pc-mingw
32/bin/ -B/usr/local/i686-pc-mingw32/lib/ -isystem /usr/local/i686-pc-mingw32/in
clude -isystem /usr/local/i686-pc-mingw32/sys-include -dumpspecs > tmp-specs
mv tmp-specs specs
if true ; then \
  cat ../../gcc-4.1.2/gcc/limitx.h ../../gcc-4.1.2/gcc/glimits.h ../../gcc-4.1.2
/gcc/limity.h > tmp-xlimits.h; \
else \
  cat ../../gcc-4.1.2/gcc/glimits.h > tmp-xlimits.h; \
fi
mv tmp-xlimits.h xlimits.h
(SHLIB_LINK='' \
SHLIB_MULTILIB=''; \
gcc -c   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissi
ng-prototypes -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG
_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/.
./include -I./../intl -I../../gcc-4.1.2/gcc/../libcpp/include     -DSTANDARD_STA
RTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc/\" -DSTA
NDARD_LIBEXEC_PREFIX=\"/usr/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"4.1.
2\" -DDEFAULT_TARGET_MACHINE=\"i686-pc-mingw32\" -DSTANDARD_BINDIR_PREFIX=\"/usr
/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "
X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULT
ILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
        -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/
gcc/../include -I./../intl -I../../gcc-4.1.2/gcc/../libcpp/include  ../../gcc-4.
1.2/gcc/cp/g++spec.c)
gcc   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H
 -o g++.exe \
  gcc.o g++spec.o intl.o prefix.o version.o  ../libcpp/libcpp.a ./../intl/libint
l.a  ../libiberty/libiberty.a
echo | /c/c++/gcc-build/./gcc/xgcc -B/c/c++/gcc-build/./gcc/ -B/usr/local/i686-p
c-mingw32/bin/ -B/usr/local/i686-pc-mingw32/lib/ -isystem /usr/local/i686-pc-min
gw32/include -isystem /usr/local/i686-pc-mingw32/sys-include -E -dM - | \
  sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
        -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
  sort -u > tmp-macro_list
-uThe system cannot find the file specified.
make[2]: *** [s-macro_list] Error 1
make[2]: Leaving directory `/c/c++/gcc-build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/c/c++/gcc-build'
make: *** [all] Error 2



More information about the Gcc-help mailing list