Re: specify default options for gcc

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

 



On Mon, Apr 13, 2009 at 16:04, kamaraju kusumanchi
<raju.mailinglists@xxxxxxxxx> wrote:
> I want to use the option -Bdirpath whenever I use gcc, g++, gfortran
> etc., Is there any configuration file (preferably at the user level)
> that I can edit so that whenever gcc is invoked it is invoked as "gcc
> -Bdirpath" instead of just gcc?

Write a wrapper shell script that calls gcc with all the default
options you want.  GCC does not support options in configuration files
by design.


Diego.

[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