James [on his mailserver] wrote:

> and on a slightly saner note, to compile 2.0.36 i put gcc 2.7.2.3 in the
> same dir that egcs is in (well, not the same one, but the same dir that
> it's dir is in) and do gcc -V2.7.2.3 to use it don't i?

When you compile gcc, it creates a `gcc' executable which is normally
installed as /usr/bin/gcc. This will default to invoking the cc1
executable which was compiled at the same time (e.g. 
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.7.2.3/cc1).

You can change the platform part (i586-pc-linux-gnu) using the -b
switch, and the version part using the -V switch. So you can invoke
/usr/lib/gcc-lib/<platform>/<version>/cc1 for any value of <platform>
and <version> using any front-end.

Similarly egcs' front-end (is it called egcs or gcc?) will invoke
egcs' C compiler (cc1) by default.

I'm not sure if this answers your question, but then I'm not really
sure exactly what your question was.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to