This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: A way to make GCC assume certain argument flags
On Mon, Feb 17, 2020 at 5:44 AM Stefan Franke <stefan@franke.ms> wrote:
>
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: gcc-help-owner@gcc.gnu.org <gcc-help-owner@gcc.gnu.org> Im
> > Auftrag von Andrew Haley
> > Gesendet: Montag, 17. Februar 2020 11:04
> > An: William Tambe <tambewilliam@gmail.com>; hugo brunie
> > <hbrunie0@gmail.com>
> > Cc: gcc-help <gcc-help@gcc.gnu.org>
> > Betreff: Re: A way to make GCC assume certain argument flags
> >
> > On 2/16/20 7:09 PM, William Tambe wrote:
> > > Thank you, however I am looking for a code change within the GCC code
> > > base, such that when gcc is used, it always behave as though
> > > -fno-trampoline was given.
> >
> > You can do it be editing and recompiling GCC, but I'd just use a wrapper.
> >
> > --
> > Andrew Haley (he/him)
> > Java Platform Lead Engineer
> > Red Hat UK Ltd. <https://www.redhat.com>
> > https://keybase.io/andrewhaley
> > EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
>
> You can't handle it with a wrapper, since all arguments passed to the wrapper will override the wrappers arguments
>
> gcc -fno-trampoline -ftrampoline
>
> results into using -ftrampoline
>
> => edit the code. Atm there are only 2 locations to edit.
What are those 2 locations in the code base ?
>
> Stefan
>
>