public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: newlib@sourceware.org
Subject: Re: [PATCH, newlib/ARM] Fix elf-nano.specs to work without -save-temps
Date: Wed, 15 Feb 2017 15:32:00 -0000	[thread overview]
Message-ID: <20170215153209.GC3889@calimero.vinschen.de> (raw)
In-Reply-To: <f0d41bb0-fa29-95c1-0a0e-3cfc75d8ef05@foss.arm.com>

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

On Feb 15 11:32, Thomas Preudhomme wrote:
> Hi,
> 
> it turns out that the changes in
> af272aca591fe1dc0f1be64ae5bda147ea98a047 only works when using gcc/g++
> with -E or -save-temps, otherwise newlib's newlib.h gets used even if
> -specs=nano.specs is specified [1]. This is because the driver only
> use cpp_options spec for the external cpp tool, not for the integrated
> one.
> 
> [1] Guess the options I used to test the change...
> 
> This patch uses instead cpp_unique_options which is used in all cases:
> it is used directly when the integrated preprocessor is used, and
> indirectly by expansion of cpp_options otherwise.
> 
> Tested by running the following C program when building it with gcc or g++
> with and without -specs=nano.specs and/or -save-temps:

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2017-02-15 15:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-15 11:32 Thomas Preudhomme
2017-02-15 15:32 ` Corinna Vinschen [this message]
2017-02-15 15:50   ` Thomas Preudhomme

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=20170215153209.GC3889@calimero.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=newlib@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).