Overriding cc1

Ian Lance Taylor ian@wasabisystems.com
Thu May 13 17:50:00 GMT 2004


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



More information about the Gcc mailing list