From: Tim Rice <tim@multitalents.net>
To: gcc@gcc.gnu.org
Subject: add command line option to gcc
Date: Fri, 06 Sep 2019 03:25:00 -0000 [thread overview]
Message-ID: <alpine.UW2.2.11.1909051919370.23439@server01.int.multitalents.net> (raw)
I have a use case where I would like gcc to accept -Kthread
and act as if it was passed -pthread. So -Kthread would
be a synonym for -pthread.
I am having trouble figuring out how the option processing is handled.
Possibly in gcc/gcc.c but I am stumped here.
Any pointers would be welcome.
Thanks.
--
Tim Rice Multitalents
tim@multitalents.net
next reply other threads:[~2019-09-06 3:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-06 3:25 Tim Rice [this message]
2019-09-06 4:18 ` Nicholas Krause
2019-09-06 10:07 ` Jonathan Wakely
2019-09-06 17:21 ` Tim Rice
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=alpine.UW2.2.11.1909051919370.23439@server01.int.multitalents.net \
--to=tim@multitalents.net \
--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).