public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems building gcc-2.95.3 under Cygwin
@ 2001-03-30 14:58 Vivin Suresh Paliath
  2001-03-30 16:51 ` Mumit Khan
  0 siblings, 1 reply; 2+ messages in thread
From: Vivin Suresh Paliath @ 2001-03-30 14:58 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems building gcc-2.95.3 under Cygwin
  2001-03-30 14:58 Problems building gcc-2.95.3 under Cygwin Vivin Suresh Paliath
@ 2001-03-30 16:51 ` Mumit Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Mumit Khan @ 2001-03-30 16:51 UTC (permalink / raw)
  To: Vivin Suresh Paliath; +Cc: cygwin

On Fri, 30 Mar 2001, Vivin Suresh Paliath wrote:

> 
> /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

--enable-threads is not supported for Cygwin.

Mumit



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-30 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-30 14:58 Problems building gcc-2.95.3 under Cygwin Vivin Suresh Paliath
2001-03-30 16:51 ` Mumit Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).