public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: winsup in EGCS?
@ 1999-06-18  9:32 Parker, Ron
  0 siblings, 0 replies; 6+ messages in thread
From: Parker, Ron @ 1999-06-18  9:32 UTC (permalink / raw)
  To: Phil Edwards, cygwin

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

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

* winsup in EGCS?
  1999-06-18  9:11 Phil Edwards
  1999-06-18 22:47 ` Mumit Khan
@ 1999-06-30 22:10 ` Phil Edwards
  1 sibling, 0 replies; 6+ messages in thread
From: Phil Edwards @ 1999-06-30 22:10 UTC (permalink / raw)
  To: cygwin

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

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

* Re: winsup in EGCS?
  1999-06-18 22:47 ` Mumit Khan
@ 1999-06-30 22:10   ` Mumit Khan
  0 siblings, 0 replies; 6+ messages in thread
From: Mumit Khan @ 1999-06-30 22:10 UTC (permalink / raw)
  To: cygwin

On Fri, 18 Jun 1999, Phil Edwards wrote:

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

Phil,

Use my patches first (URL below), then build it as following:

  
  $ <srcdir>/configure --prefix=/Cygnus/cygwin-b20 \
    --exec-prefix=/Cygnus/cygwin-b20/H-i586-cygwin32 \
    -v i586-cygwin32
  
  $ make bootstrap > make.log 2>&1

When it builds, just install it elsewhere:
  
  $ make prefix=/home/EGCS --exec-prefix=/home/EGCS/H-i586-cygwin32 \
    install
  
The H-* bit is strictly not necessary. 

The other, and the correct one IMO, as what others suggested. Mount
everything so that /usr is correct and then everything just works.

* patches at 
  ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/snapshots/

The gcc-2.95-relative-path.diff is a really nice feature that allows
completey relocatable trees. That's how I build my distributions.

Some of these patches may already be integrated in the snapshots, so
please check the ChangeLogs (or deal with the patch errors/complaints).

Regards,
Mumit



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

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

* RE: winsup in EGCS?
@ 1999-06-30 22:10 Parker, Ron
  0 siblings, 0 replies; 6+ messages in thread
From: Parker, Ron @ 1999-06-30 22:10 UTC (permalink / raw)
  To: Phil Edwards, cygwin

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

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

* Re: winsup in EGCS?
  1999-06-18  9:11 Phil Edwards
@ 1999-06-18 22:47 ` Mumit Khan
  1999-06-30 22:10   ` Mumit Khan
  1999-06-30 22:10 ` Phil Edwards
  1 sibling, 1 reply; 6+ messages in thread
From: Mumit Khan @ 1999-06-18 22:47 UTC (permalink / raw)
  To: cygwin

On Fri, 18 Jun 1999, Phil Edwards wrote:

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

Phil,

Use my patches first (URL below), then build it as following:

  
  $ <srcdir>/configure --prefix=/Cygnus/cygwin-b20 \
    --exec-prefix=/Cygnus/cygwin-b20/H-i586-cygwin32 \
    -v i586-cygwin32
  
  $ make bootstrap > make.log 2>&1

When it builds, just install it elsewhere:
  
  $ make prefix=/home/EGCS --exec-prefix=/home/EGCS/H-i586-cygwin32 \
    install
  
The H-* bit is strictly not necessary. 

The other, and the correct one IMO, as what others suggested. Mount
everything so that /usr is correct and then everything just works.

* patches at 
  ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/snapshots/

The gcc-2.95-relative-path.diff is a really nice feature that allows
completey relocatable trees. That's how I build my distributions.

Some of these patches may already be integrated in the snapshots, so
please check the ChangeLogs (or deal with the patch errors/complaints).

Regards,
Mumit



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

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

* winsup in EGCS?
@ 1999-06-18  9:11 Phil Edwards
  1999-06-18 22:47 ` Mumit Khan
  1999-06-30 22:10 ` Phil Edwards
  0 siblings, 2 replies; 6+ messages in thread
From: Phil Edwards @ 1999-06-18  9:11 UTC (permalink / raw)
  To: cygwin

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

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

end of thread, other threads:[~1999-06-30 22:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-18  9:32 winsup in EGCS? Parker, Ron
  -- strict thread matches above, loose matches on Subject: below --
1999-06-30 22:10 Parker, Ron
1999-06-18  9:11 Phil Edwards
1999-06-18 22:47 ` Mumit Khan
1999-06-30 22:10   ` Mumit Khan
1999-06-30 22:10 ` Phil Edwards

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).