From: Ian Lance Taylor <iant@google.com>
To: Georg Lay <avr@gjlay.de>
Cc: gcc@gcc.gnu.org
Subject: Re: How to write a SPEC function that gets all arguments passed?
Date: Wed, 08 Sep 2010 00:23:00 -0000 [thread overview]
Message-ID: <mcreid5m6by.fsf@google.com> (raw)
In-Reply-To: <4C7FB183.1070008@gjlay.de> (Georg Lay's message of "Thu, 02 Sep 2010 16:15:31 +0200")
Georg Lay <avr@gjlay.de> writes:
> Moreover, there will be a problem because the C function that actually
> implements my_record_switches must return a string starting with '-',
> there is no way to return "" or NULL to indicate that the function won't
> produce anything.
I would consider writing something like
-frecorded-gcc-switches=%(cc1_options)
to override the default behaviour. It seems to me that it should be
possible to get to where you want, although it might be a little painful
to get it all correct.
Ian
prev parent reply other threads:[~2010-09-08 0:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-02 14:15 Georg Lay
2010-09-08 0:23 ` Ian Lance Taylor [this message]
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=mcreid5m6by.fsf@google.com \
--to=iant@google.com \
--cc=avr@gjlay.de \
--cc=gcc@gcc.gnu.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).