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?


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


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