This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can you help me figure out why I can't build this.


  I am running on a i586-pc-linux system .. running SuSE 8.0 with
2.4.19 kernel.  I am also using glibc 2.2.5 and all the latest packages.

  I am trying to setup a cross compiler for Windows but its not finding
or recognizing the gcc-cross compiler.  Can you look at my configuration
options attached please...

 Thanks.

-------------------- SNIP ---------------------
  I seem to have a problem installing gcc-3.2 for cross compiler of mingw32.
I have read all the documentation I could find online and I still have
problems.  Any ideas?


#########  CONFIGURE ######################
../configure --prefix=/usr/local \
 --target=i586-pc-mingw32 \
 --with-gnu-ld \
 --with-gnu-as \
 --with-gxx-include-dir=/usr/local/i586-pc-mingw32/sys-include/c++ \
 --enable-languages=c,c++ \
 --disable-cvs \
 --disable-nls \
 --enable-__cxa_atexit \
 --enable-shared \
 --enable-cstdio \
 --enable-c99 \
 --enable-debug \
 --enable-threads=no \
 --enable-long-long \
 --enable-concept-checks \
 --enable-versioning \
 --with-mmap \
 --enable-bfd-assembler \
 --disable-libgcj \
 --disable-win32-registry \
 --with-headers=../mingw-include \
 --enable-version-specific-runtime-libs
######## MAKE #####################
make[1]: Entering directory `/usr/src/packages/SOURCES/1/src/libiberty'
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/libiberty/testsuite'
make[1]: Leaving directory `/usr/src/packages/SOURCES/1/src/libiberty'
make[1]: Entering directory `/usr/src/packages/SOURCES/1/src/bfd'
make  all-recursive
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/bfd'
Making all in doc
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/bfd/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/bfd/doc'
Making all in po
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/bfd/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/bfd/po'
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/bfd'
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/bfd'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/bfd'
make[1]: Leaving directory `/usr/src/packages/SOURCES/1/src/bfd'
make[1]: Entering directory `/usr/src/packages/SOURCES/1/src/opcodes'
make  all-recursive
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/opcodes'
Making all in po
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/opcodes/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/opcodes/po'
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/opcodes'
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/opcodes'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/opcodes'
make[1]: Leaving directory `/usr/src/packages/SOURCES/1/src/opcodes'
make[1]: Entering directory `/usr/src/packages/SOURCES/1/src/binutils'
make  all-recursive
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/binutils'
Making all in doc
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/binutils/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/binutils/doc'
Making all in po
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/binutils/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/binutils/po'
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/binutils'
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/binutils'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/binutils'
make[1]: Leaving directory `/usr/src/packages/SOURCES/1/src/binutils'
make[1]: Entering directory `/usr/src/packages/SOURCES/1/src/gas'
make  all-recursive
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/gas'
Making all in doc
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/gas/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/gas/doc'
Making all in po
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/gas/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/gas/po'
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/gas'
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/gas'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/gas'
make[1]: Leaving directory `/usr/src/packages/SOURCES/1/src/gas'
make[1]: Entering directory `/usr/src/packages/SOURCES/1/src/ld'
make  all-recursive
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/ld'
Making all in po
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/ld/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/ld/po'
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/ld'
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/ld'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/ld'
make[1]: Leaving directory `/usr/src/packages/SOURCES/1/src/ld'
Building the C and C++ compiler
make[1]: Entering directory `/usr/src/packages/SOURCES/1/src/gcc'
(cd intl && make all)
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/gcc/intl'
if [ -f specs.ready ] ; then \
	true; \
else \
	echo timestamp > specs.ready; \
fi
make GCC_FOR_TARGET="/usr/src/packages/SOURCES/1/src/gcc/xgcc -B/usr/src/packages/SOURCES/1/src/gcc/ -B/usr/local/i586-pc-mingw32/bin/ -B/usr/local/i586-pc-mingw32/lib/ -isystem /usr/local/i586-pc-mingw32/include -L/usr/src/packages/SOURCES/1/src/ld" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  AR_FOR_TARGET="/usr/src/packages/SOURCES/1/src/binutils/ar" \
  AR_CREATE_FOR_TARGET="/usr/src/packages/SOURCES/1/src/binutils/ar  rc" \
  AR_FLAGS_FOR_TARGET="" \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long" \
  RANLIB_FOR_TARGET="/usr/src/packages/SOURCES/1/src/binutils/ranlib" \
  RANLIB_TEST_FOR_TARGET="[ -f /usr/src/packages/SOURCES/1/src/binutils/ranlib ] || ( [ "i586-pc-linux-gnu" = "i586-pc-mingw32" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \
  NM_FOR_TARGET="/usr/src/packages/SOURCES/1/src/binutils/nm-new" AWK="mawk" \
  LIBGCC2_CFLAGS="-O2 -I/usr/src/packages/SOURCES/1/gcc/../winsup/w32api/include -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " \
  INCLUDES="-I. -I. -I/usr/src/packages/SOURCES/1/gcc -I/usr/src/packages/SOURCES/1/gcc/. -I/usr/src/packages/SOURCES/1/gcc/config -I/usr/src/packages/SOURCES/1/gcc/../include" \
  CONFIG_H="tconfig.h " MACHMODE_H="machmode.h machmode.def" \
  LIB1ASMSRC='i386/cygwin.asm' \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else /bin/sh /usr/src/packages/SOURCES/1/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/gcc'
make[1]: Leaving directory `/usr/src/packages/SOURCES/1/src/gcc'
Building runtime libraries
make[1]: Entering directory `/usr/src/packages/SOURCES/1/src'
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/libiberty'
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/libiberty/testsuite'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/libiberty'
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/bfd'
make  all-recursive
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/bfd'
Making all in doc
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/bfd/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/bfd/doc'
Making all in po
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/bfd/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/bfd/po'
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/bfd'
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/bfd'
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/bfd'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/bfd'
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/opcodes'
make  all-recursive
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/opcodes'
Making all in po
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/opcodes/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/opcodes/po'
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/opcodes'
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/opcodes'
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/opcodes'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/opcodes'
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/binutils'
make  all-recursive
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/binutils'
Making all in doc
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/binutils/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/binutils/doc'
Making all in po
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/binutils/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/binutils/po'
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/binutils'
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/binutils'
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/binutils'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/binutils'
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/gas'
make  all-recursive
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/gas'
Making all in doc
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/gas/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/gas/doc'
Making all in po
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/gas/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/gas/po'
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/gas'
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/gas'
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/gas'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/gas'
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/ld'
make  all-recursive
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/ld'
Making all in po
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/ld/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/ld/po'
make[4]: Entering directory `/usr/src/packages/SOURCES/1/src/ld'
make[4]: Leaving directory `/usr/src/packages/SOURCES/1/src/ld'
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/ld'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/ld'
make[2]: Entering directory `/usr/src/packages/SOURCES/1/src/gcc'
(cd intl && make all)
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/gcc/intl'
if [ -f specs.ready ] ; then \
	true; \
else \
	echo timestamp > specs.ready; \
fi
make GCC_FOR_TARGET="/usr/src/packages/SOURCES/1/src/gcc/xgcc -B/usr/src/packages/SOURCES/1/src/gcc/ -B/usr/local/i586-pc-mingw32/bin/ -B/usr/local/i586-pc-mingw32/lib/ -isystem /usr/local/i586-pc-mingw32/include -L/usr/src/packages/SOURCES/1/src/ld" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  AR_FOR_TARGET="/usr/src/packages/SOURCES/1/src/binutils/ar" \
  AR_CREATE_FOR_TARGET="/usr/src/packages/SOURCES/1/src/binutils/ar  rc" \
  AR_FLAGS_FOR_TARGET="" \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long" \
  RANLIB_FOR_TARGET="/usr/src/packages/SOURCES/1/src/binutils/ranlib" \
  RANLIB_TEST_FOR_TARGET="[ -f /usr/src/packages/SOURCES/1/src/binutils/ranlib ] || ( [ "i586-pc-linux-gnu" = "i586-pc-mingw32" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \
  NM_FOR_TARGET="/usr/src/packages/SOURCES/1/src/binutils/nm-new" AWK="mawk" \
  LIBGCC2_CFLAGS="-O2 -I/usr/src/packages/SOURCES/1/gcc/../winsup/w32api/include -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " \
  INCLUDES="-I. -I. -I/usr/src/packages/SOURCES/1/gcc -I/usr/src/packages/SOURCES/1/gcc/. -I/usr/src/packages/SOURCES/1/gcc/config -I/usr/src/packages/SOURCES/1/gcc/../include" \
  CONFIG_H="tconfig.h " MACHMODE_H="machmode.h machmode.def" \
  LIB1ASMSRC='i386/cygwin.asm' \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[3]: Entering directory `/usr/src/packages/SOURCES/1/src/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else /bin/sh /usr/src/packages/SOURCES/1/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
make[3]: Leaving directory `/usr/src/packages/SOURCES/1/src/gcc'
make[2]: Leaving directory `/usr/src/packages/SOURCES/1/src/gcc'
Configuring in i586-pc-mingw32/libiberty
loading cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking host system type... i586-pc-mingw32
checking build system type... i586-pc-linux-gnu
checking for i586-pc-mingw32-ar... (cached) /usr/src/packages/SOURCES/1/src/binutils/ar
checking for i586-pc-mingw32-ranlib... (cached) /usr/src/packages/SOURCES/1/src/binutils/ranlib
checking for gcc... (cached) /usr/src/packages/SOURCES/1/src/gcc/xgcc -B/usr/src/packages/SOURCES/1/src/gcc/ -B/usr/local/i586-pc-mingw32/bin/ -B/usr/local/i586-pc-mingw32/lib/ -isystem /usr/local/i586-pc-mingw32/include -L/usr/src/packages/SOURCES/1/src/ld
checking whether we are using GNU C... (cached) yes
checking whether /usr/src/packages/SOURCES/1/src/gcc/xgcc -B/usr/src/packages/SOURCES/1/src/gcc/ -B/usr/local/i586-pc-mingw32/bin/ -B/usr/local/i586-pc-mingw32/lib/ -isystem /usr/local/i586-pc-mingw32/include -L/usr/src/packages/SOURCES/1/src/ld accepts -g... (cached) yes
checking whether /usr/src/packages/SOURCES/1/src/gcc/xgcc -B/usr/src/packages/SOURCES/1/src/gcc/ -B/usr/local/i586-pc-mingw32/bin/ -B/usr/local/i586-pc-mingw32/lib/ -isystem /usr/local/i586-pc-mingw32/include -L/usr/src/packages/SOURCES/1/src/ld and cc understand -c and -o together... yes
checking for POSIXized ISC... no
checking for working const... yes
checking for inline... inline
checking for a BSD compatible install... /bin/sh /usr/src/packages/SOURCES/1/install-sh -c
Appending /usr/src/packages/SOURCES/1/libiberty/../config/mh-x86pic to xhost-mkfrag
xhost-mkfrag is unchanged
checking how to run the C preprocessor... (cached) /usr/src/packages/SOURCES/1/src/gcc/xgcc -B/usr/src/packages/SOURCES/1/src/gcc/ -B/usr/local/i586-pc-mingw32/bin/ -B/usr/local/i586-pc-mingw32/lib/ -isystem /usr/local/i586-pc-mingw32/include -L/usr/src/packages/SOURCES/1/src/ld -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... no
checking for sys/stat.h... yes
checking for sys/mman.h... no
checking for fcntl.h... yes
checking for alloca.h... no
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for ANSI C header files... no
checking for uintptr_t... no
checking for pid_t... yes
checking whether the C compiler (/usr/src/packages/SOURCES/1/src/gcc/xgcc -B/usr/src/packages/SOURCES/1/src/gcc/ -B/usr/local/i586-pc-mingw32/bin/ -B/usr/local/i586-pc-mingw32/lib/ -isystem /usr/local/i586-pc-mingw32/include -L/usr/src/packages/SOURCES/1/src/ld -g -O2 ) works... no
make[1]: Leaving directory `/usr/src/packages/SOURCES/1/src'


Email:  darklord@bio-hazard.cx
URL  :  http://bio-hazard.cx

B I O - H A Z A R D   I N D U S T R I E S               (c) 1994


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