This is the mail archive of the cygwin@sourceware.cygnus.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]

RE: winsup in EGCS?


I believe that I handled this by 'ln -s'ing the contents of
/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/include into
/usr/local/include.

-----Original Message-----
From: Phil Edwards [mailto:pedwards@jaj.com]
Sent: Friday, June 18, 1999 11:21 AM
To: cygwin@sourceware.cygnus.com
Subject: winsup in EGCS?



Running into some weirdness while bootstrapping, possibly because of
a missing directory.


I'm building the egcs-19990502 snapshot under B20.1 (no patches, no
changes).  I've already built make 3.77 without problems and replaced
the 3.75 one that's shipped.

My configure line was

    ../egcs-19990502/configure --prefix=/home/EGCS --with-gnu-ld
    --with-gnu-as --enable-languages=c++ --disable-shared  i586-cygwin32

I know that PIC is ignored under NT, but thought that --disable-shared
would be harmless.  I'm wanting to install EGCS in a completely different
directory for a number of reasons.

Everything goes very very well until libgcc2.a is being built:

for name in _muldi3 _divdi3 [A WHOLE BUNCH OF OTHERS] ; \
do \
  echo ${name}; \
  ./xgcc -B./ -B/home/EGCS/i586-cygwin32/bin/ -O2
-I../../egcs-19990502/gcc/../winsup/include  -DIN_GCC     -g -W -Wall
-I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I.
-I../../egcs-1999 0502/gcc -I../../egcs-19990502/gcc/config
-I../../egcs-19990502/gcc/../include -c -DL${name} \
      ../../egcs-19990502/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ` if [ -f /tmp/objdir/gcc/../binutils/ar ] ; then echo
/tmp/objdir/gcc/../binutils/ar ; else if [ "i586-pc-cygwin32" =
"i586-pc-cygwin32" ] ; then echo ar; else t='s,x,x,'; echo ar | sed -e $t ;
fi; fi` rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
../../egcs-19990502/gcc/libgcc2.c:41: stdlib.h: No such file or directory
../../egcs-19990502/gcc/libgcc2.c:42: unistd.h: No such file or directory
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/tmp/objdir/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/tmp/objdir/gcc'
make: *** [bootstrap] Error 2


The only instances of stblib.h and unistd.h are in the B20 distrib include
dirs, whichI guess don't get searched because of the -B options.  I think
there are three strange things going on here:

1)  A -B is given for {prefix}, but nothing is installed there yet, and
2)  A -I is given for {srcdir}/gcc/../winsup/include, but there is no
    winsup directory present anywhere.  I suspect that the winsup stuff
    is what's supposed to supply these two files?
3)  A comparison is being done to "i586-pc-cygwin32" even though I had
    specified i586-cygwin32 as host on the configure line.  Do I also
    need to supply a build/target?


I ran the whole "make bootstrap" thing through tee(1), so I can get more
stuff out of the log if needed.  Should I just copy those file from the
B20 dirs into one of the paths being searched?  Or is there something else
that I've already done wrong, and it's only appearing now?


(If you reply to the list, please don't cc another copy to me.  Thanks!)
Phil


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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