delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/09/10/00:02:55

Sender: nate AT cartsys DOT com
Message-ID: <35F742D0.AA817E03@cartsys.com>
Date: Wed, 09 Sep 1998 20:09:04 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: DJ Delorie <dj AT delorie DOT com>
CC: pavenis AT lanet DOT lv, djgpp-workers AT delorie DOT com
Subject: Re: Updated diffs for compiling DJLSR-980907 with EGCS-1.1
References: <199809091508 DOT LAA28770 AT delorie DOT com>

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019