This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


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

Problems building gcc-2.95.3 under Cygwin


Hi,

I'm having problems building gcc-2.95.3 under Cygwin.

My gcc sources are in /srcdir/gcc-2.95.3

My build directory is /build.

I issued the following commands:

export MAKE_MODE=UNIX

/srcdir/gcc-2.95.3/configure --prefix=/tools --with-gnu-as --with-gnu-ld --e
nable-threads --with-included-gettext 2>&1 | tee configure.out

make -w all-gcc install-gcc LANGUAGES="c c++ java" 2>&1 | tee make.out

These commands were all executed from the /build directory. It configures
fine, but when I run 'make', it runs for a couple of minutes and then dies
with this:

for name in _eh; \
do \
  echo ${name}; \


/build/gcc/xgcc -B/build/gcc/ -B/tools/i686-pc-cygwin32/bin/ -I/tools/i686-p
c-
cygwin32/include -O2 -I/srcdir/gcc-2.95.3/gcc/../winsup/include  -DIN_GCC   
  -g
 -O2 -I./include   -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NE
EDED
   -fexceptions -I. -I/srcdir/gcc-2.95.3/gcc -I/srcdir/gcc-2.95.3/gcc/config
 -I/
srcdir/gcc-2.95.3/gcc/../include -c \
      -DL${name} /srcdir/gcc-2.95.3/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_eh
In file included from /srcdir/gcc-2.95.3/gcc/gthr.h:98,
                 from /srcdir/gcc-2.95.3/gcc/libgcc2.c:3034:
gthr-default.h:1: gthr-win32.h: No such file or directory
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/build/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/build'

I'm not sure what to do... I have been trying to compile this for a _really_
long time now but I keep running into errors. Thanks for the help!

Vivin

e ^ (i * pi) = -1

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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