This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Overriding cc1


Pat Haugen <pthaugen@us.ibm.com> writes:

> Is there a command line option for gcc that would allow me to override the
> cc1 executable that gets invoked?
> 
> gcc -???=/some/path/cc1.new  file.c

You can't override cc1 precisely.  What you can do is use the -B
option to specify a different directory to search for all programs
including cc1.  See the docs.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]