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:

> 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



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