Sender: nate AT cartsys DOT com Message-ID: <35F8180C.ECA2F6E7@cartsys.com> Date: Thu, 10 Sep 1998 11:18:53 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Andris Pavenis CC: DJ Delorie , djgpp-workers AT delorie DOT com Subject: Re: Updated diffs for compiling DJLSR-980907 with EGCS-1.1 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Andris Pavenis wrote: > > On Wed, 9 Sep 1998, Nate Eldredge wrote: > > > DJ Delorie wrote: > > > > > > > - native libc.a include files (libc-5.4.46) defines POSIX_SOURCE > > > > that effectively eliminates contents of coff.h from djcrx202.zip; > > > > > > This is a bug in Linux. The system headers must never define > > > POSIX_SOURCE themselves; POSIX does not allow it. POSIX_SOURCE is a > > > request *by the application* for a POSIX-compliant environment. > > I posted this to glibc-bugs a while ago (it's the same in glibc 2), but > > got no response. Perhaps we should try again, or mail the maintainers > > directly? > > > > It would be nice to be able to cross-build DJGPP on Linux. [snip discussion of cross-compiler] I already have a cross-compiler. My problem was that with the _POSIX_SOURCE macro-- I realize it can be worked around, but I think the glibc folks should fix it so the general public can have this work (and probably other things as well). -- Nate Eldredge nate AT cartsys DOT com