Mail Archives: djgpp-workers/1998/09/10/14:56:03
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
- Raw text -