public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "Peter S. Mazinger" <ps.m@gmx.net>
To: binutils@sourceware.org
Subject: unneeded -D_GNU_SOURCE
Date: Tue, 23 Oct 2007 11:37:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0710230910240.2273-100000@lnx.bridge.intra> (raw)

Hello,

I have cross-compiled binutils (2.18) in an environment, where though 
glibc headers are used, but _GNU_SOURCE is undefined in features.h 
immediately after it defines _XOPEN_SOURCE/_POSIX_SOURCE and the others 
(the target library does not provide any of the GNU extensions either) and 
found that binutils does not need any of the GNU extensions (meaning those
guarded by __USE_GNU), haven't tracked down which are enough of all those 
defines, but _XOPEN_SOURCE and/or _POSIX_SOURCE could be more appropiate 
to reflect the reality.

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2

             reply	other threads:[~2007-10-23  7:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-23 11:37 Peter S. Mazinger [this message]
2007-10-23 12:52 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0710230910240.2273-100000@lnx.bridge.intra \
    --to=ps.m@gmx.net \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).