public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* building egcs snapshot under W95: fails to process #include
@ 1999-04-10  9:24 N8TM
  1999-04-12 15:12 ` Mumit Khan
  1999-04-30 18:32 ` N8TM
  0 siblings, 2 replies; 4+ messages in thread
From: N8TM @ 1999-04-10  9:24 UTC (permalink / raw)
  To: cygwin

My cygwin has been having a tough time with egcs under W95 since the multilib 
stuff was introduced.  I have set up the following:
OSR25/USB
Cygwin-b20.1 with 19990330 snapshot binary patch
egcs-1.1.2 with Mumit Khan's patches, rebuilt so libraries match cygwin 
snapshot
include files from cygwin snapshot sym-linked into /usr/include

The 19990405 snapshot builds normally until some time down in the libgcc2 
compilation, it's missing declarations which should have been picked up from 
<string.h>.  The problem occurs sooner if I have only a symlink for 
<string.h> in /usr/include; I copy that file to that directory, and the first 
indication of a problem is undefined strchr() around line 2122 of libgcc2.c.  
Likewise, the problem occurs sooner with the standard make-3.75 than with 
make-3.77.  Further on in the libgcc2 compilation, the compiler hangs with 
perpetual loop of error messages.

The compiler which is built is OK, but it won't link because the libraries 
are no good.  The .o files which it makes link and run OK with the egcs-1.1.2.

Is there a limit on the nesting of #includes or the number of open files 
which can be read properly under cygwin/W95?  If so, is there a way to 
correct this?

When I attempt the same thing under NT, there are different, more benign 
problems, such as the failure to configure the gcc and libf2c directories 
automatically.  Of course, it takes far longer (possibly the McAfee virus 
detector has failed to shut off).

I've tried installing several newer cygwin snapshots, but they cause several 
programs, such as tar, to crash immediately with access violation.  The 330 
snapshot seems to work best on my system; it has none of the old vfork 
failures and not nearly as many make failures as the original cygwin-b20.1.

Yes, it may be that the only supported way to build egcs for W95 will be 
cross-build.  For that to be convenient, I would need to change to a FAT-32 
compatible linux, but I prefer to stay with a gnulibc1 linux.  I suppose 
those desires may be mutually exclusive.  These egcs snapshots aren't that 
easy to build under linux either; they have all sorts of problems with 
texinfo build failures.  But I would like to see egcs-1.2 working on cygwin; 
the snapshot g77 performs very well on my old PPro box.

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

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

* Re: building egcs snapshot under W95: fails to process #include
  1999-04-10  9:24 building egcs snapshot under W95: fails to process #include N8TM
@ 1999-04-12 15:12 ` Mumit Khan
  1999-04-30 18:32   ` Mumit Khan
  1999-04-30 18:32 ` N8TM
  1 sibling, 1 reply; 4+ messages in thread
From: Mumit Khan @ 1999-04-12 15:12 UTC (permalink / raw)
  To: N8TM; +Cc: cygwin

N8TM@aol.com writes:
> My cygwin has been having a tough time with egcs under W95 since the multilib
>  
> stuff was introduced.  I have set up the following:
> OSR25/USB
> Cygwin-b20.1 with 19990330 snapshot binary patch
> egcs-1.1.2 with Mumit Khan's patches, rebuilt so libraries match cygwin 
> snapshot
> include files from cygwin snapshot sym-linked into /usr/include

[ ... problems with various includes not showing up etc ... ]

This is mostly due to some changes in the pathname handling within new
cpp code, and I'm trying to track it down right now. The lossage happens
for -I//drive/dir  etc, but works when you convert it to -Idrive:/dir
syntax.

btw, I'm working with cygwin stock dll (or at least before the drive
naming scheme changed), so I won't be able to test that feature until
I get a chance to install the snapshot DLLs.

I'll get a fix out in the next few days. Watch egcs-patches for details.

Regards,
Mumit


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

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

* Re: building egcs snapshot under W95: fails to process #include
  1999-04-12 15:12 ` Mumit Khan
@ 1999-04-30 18:32   ` Mumit Khan
  0 siblings, 0 replies; 4+ messages in thread
From: Mumit Khan @ 1999-04-30 18:32 UTC (permalink / raw)
  To: N8TM; +Cc: cygwin

N8TM@aol.com writes:
> My cygwin has been having a tough time with egcs under W95 since the multilib
>  
> stuff was introduced.  I have set up the following:
> OSR25/USB
> Cygwin-b20.1 with 19990330 snapshot binary patch
> egcs-1.1.2 with Mumit Khan's patches, rebuilt so libraries match cygwin 
> snapshot
> include files from cygwin snapshot sym-linked into /usr/include

[ ... problems with various includes not showing up etc ... ]

This is mostly due to some changes in the pathname handling within new
cpp code, and I'm trying to track it down right now. The lossage happens
for -I//drive/dir  etc, but works when you convert it to -Idrive:/dir
syntax.

btw, I'm working with cygwin stock dll (or at least before the drive
naming scheme changed), so I won't be able to test that feature until
I get a chance to install the snapshot DLLs.

I'll get a fix out in the next few days. Watch egcs-patches for details.

Regards,
Mumit


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


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

* building egcs snapshot under W95: fails to process #include
  1999-04-10  9:24 building egcs snapshot under W95: fails to process #include N8TM
  1999-04-12 15:12 ` Mumit Khan
@ 1999-04-30 18:32 ` N8TM
  1 sibling, 0 replies; 4+ messages in thread
From: N8TM @ 1999-04-30 18:32 UTC (permalink / raw)
  To: cygwin

My cygwin has been having a tough time with egcs under W95 since the multilib 
stuff was introduced.  I have set up the following:
OSR25/USB
Cygwin-b20.1 with 19990330 snapshot binary patch
egcs-1.1.2 with Mumit Khan's patches, rebuilt so libraries match cygwin 
snapshot
include files from cygwin snapshot sym-linked into /usr/include

The 19990405 snapshot builds normally until some time down in the libgcc2 
compilation, it's missing declarations which should have been picked up from 
<string.h>.  The problem occurs sooner if I have only a symlink for 
<string.h> in /usr/include; I copy that file to that directory, and the first 
indication of a problem is undefined strchr() around line 2122 of libgcc2.c.  
Likewise, the problem occurs sooner with the standard make-3.75 than with 
make-3.77.  Further on in the libgcc2 compilation, the compiler hangs with 
perpetual loop of error messages.

The compiler which is built is OK, but it won't link because the libraries 
are no good.  The .o files which it makes link and run OK with the egcs-1.1.2.

Is there a limit on the nesting of #includes or the number of open files 
which can be read properly under cygwin/W95?  If so, is there a way to 
correct this?

When I attempt the same thing under NT, there are different, more benign 
problems, such as the failure to configure the gcc and libf2c directories 
automatically.  Of course, it takes far longer (possibly the McAfee virus 
detector has failed to shut off).

I've tried installing several newer cygwin snapshots, but they cause several 
programs, such as tar, to crash immediately with access violation.  The 330 
snapshot seems to work best on my system; it has none of the old vfork 
failures and not nearly as many make failures as the original cygwin-b20.1.

Yes, it may be that the only supported way to build egcs for W95 will be 
cross-build.  For that to be convenient, I would need to change to a FAT-32 
compatible linux, but I prefer to stay with a gnulibc1 linux.  I suppose 
those desires may be mutually exclusive.  These egcs snapshots aren't that 
easy to build under linux either; they have all sorts of problems with 
texinfo build failures.  But I would like to see egcs-1.2 working on cygwin; 
the snapshot g77 performs very well on my old PPro box.

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


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

end of thread, other threads:[~1999-04-30 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-10  9:24 building egcs snapshot under W95: fails to process #include N8TM
1999-04-12 15:12 ` Mumit Khan
1999-04-30 18:32   ` Mumit Khan
1999-04-30 18:32 ` N8TM

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