delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/09/10/14:56:03

Sender: nate AT cartsys DOT com
Message-ID: <35F8180C.ECA2F6E7@cartsys.com>
Date: Thu, 10 Sep 1998 11:18:53 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Andris Pavenis <pavenis AT lanet DOT lv>
CC: DJ Delorie <dj AT delorie DOT com>, djgpp-workers AT delorie DOT com
Subject: Re: Updated diffs for compiling DJLSR-980907 with EGCS-1.1
References: <Pine DOT A32 DOT 3 DOT 91 DOT 980910094121 DOT 59746A-100000 AT ieva01 DOT lanet DOT lv>

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 -


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