Mail Archives: djgpp-workers/1998/09/10/00:02:55
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.
(It's `_POSIX_SOURCE', btw, with leading underscore.)
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.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -