Overriding cc1

Ben Elliston bje@au.ibm.com
Fri May 14 00:52:00 GMT 2004


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

> In case anyone was curious on "what" I was wanting this for. Was
> looking for a simple way of comparing output (code gen or dumps)
> between two (or more) versions of cc1 built off the same code base
> with individual tweaks here and there. Currently going at it by just
> shuffling "cc1.versionN" into the normal "cc1" location and getting
> what I want, then shuffling in the next "cc1.versionM" in...

In many cases, you can get away with running cc1 directly (or
cc1.versionN in your case), provided you know what options the driver
would have passed down to cc1.

Ben




More information about the Gcc mailing list