A way to make GCC assume certain argument flags

William Tambe tambewilliam@gmail.com
Sun Feb 16 20:43:00 GMT 2020


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.

On Sun, Feb 16, 2020 at 1:23 PM hugo brunie <hbrunie0@gmail.com> wrote:
>
> Not sure is the answer you looking for, but on linux system you could just write an alias in your .bashrc
>
> alias gcc = “gcc -fno-trampoline”
>
> > On Feb 15, 2020, at 3:28 PM, William Tambe <tambewilliam@gmail.com> wrote:
> >
> > Is there a way to make GCC assume certain argument flags without
> > having to use them as argument to the command gcc ?
> >
> > ie: I would like for the argument flag -fno-trampolines to always be
> > assumed when using the command gcc.
>



More information about the Gcc-help mailing list