AW: A way to make GCC assume certain argument flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Ursprüngliche Nachricht-----
> Von: gcc-help-owner@xxxxxxxxxxx <gcc-help-owner@xxxxxxxxxxx> Im
> Auftrag von Andrew Haley
> Gesendet: Montag, 17. Februar 2020 11:04
> An: William Tambe <tambewilliam@xxxxxxxxx>; hugo brunie
> <hbrunie0@xxxxxxxxx>
> Cc: gcc-help <gcc-help@xxxxxxxxxxx>
> 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.

Stefan






[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux