<p>Sounds like you may have over written the original install of gcc. </p>
<p>Did you specify --prefix and --exec-prefix when you configured 4.2?</p>
<p><blockquote type="cite">On Aug 26, 2010 10:34 AM, &quot;Weber, Lawrence A&quot; &lt;<a href="mailto:Lawrence.Weber@ansaldo-sts.us">Lawrence.Weber@ansaldo-sts.us</a>&gt; wrote:<br><br>









<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal">I am using Fedora 12 and recently had the need to use an
older version of gcc.  I was able to download, build and install the old
version, 4.2.  I originally had 4.4.4 installed.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">When I do a “which gcc” or “which cc”,
I find that the commands are handled through /usr/lib/ccache symbolic links. 
In that directory both gcc and cc link to /usr/bin/ccache.  The
installation of the old gcc changed something because now ccache is runs the
old version not the newer 4.4.4.  How do I restore ccache to use 4.4.4? 
I tried deleting the link and recreating it but since the link is to ccache this
did not work.  I have temporarily changed to link to point to the 4.4.4
compiler but this is bypassing ccache.  I read through the ccache documentation
but it is unclear how the execution of ccache runs a specific compiler.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:&quot;Brush Script MT&quot;;color:#50555A">Lawrence. A. Weber</span></b><span style="font-size:12.0pt;color:#50555A"> <br>
</span><span style="font-size:7.5pt;color:#50555A">Consulting Engineer<br>
<br>
</span><b><span style="font-size:10.0pt;color:#50555A"><img width="109" height="39" src="cid:image001.jpg@01CB4509.1985C350" alt="image001"></span></b><b><span style="font-size:7.5pt;color:#50555A"><br>
<br>
Ansaldo STS USA, Inc.</span></b><br>
<b><span style="font-size:7.5pt;color:#333333">Union
Switch &amp; Signal Building</span></b><b><span style="font-size:7.5pt;color:#50555A"><br>
1000 Technology Drive<br>
Pittsburgh, PA 15219-3120<br>
USA</span></b><br>
<b><span style="font-size:7.5pt;color:#50555A">Telephone:
 1-412-688-2319</span></b><br>
<b><span style="font-size:7.5pt;color:#50555A">Telefax:
 1-412-688-2398<br>
</span></b><b><span lang="EN-GB" style="font-size:7.5pt;color:#50555A"><br>
<a href="http://www.ansaldo-sts.com" target="_blank"><span style="color:blue">www.ansaldo-sts.com</span></a></span></b><b><span lang="EN-GB" style="color:#50555A"><br>
</span></b><b><span style="font-size:7.5pt;color:#50555A"><br>
CONFIDENTIALITY:</span></b><b><span style="font-size:10.0pt;color:#50555A"><br>
</span></b><b><span style="font-size:7.5pt;color:#50555A">This message is strictly confidential. Its content and use is
restricted to the designated recipient(s). The use, copy, reproduction or
transmittal by any process or means without prior written notice of the author
or</span></b><b><span style="font-size:10.0pt;color:#50555A"> </span></b><b><span style="font-size:7.5pt;color:#50555A">Ansaldo STS USA, Inc.</span></b><b><span style="font-size:10.0pt;color:#50555A"> </span></b><b><span style="font-size:7.5pt;color:#50555A">office
of the Legal Counsel is strictly prohibited. If you have received this message
in a transmission error, please inform the sender immediately and destroy any
copy, saved file or print you have erroneously made.</span></b><br>
<b><span style="font-size:7.5pt;color:#50555A"><br>
PRIVACY:</span></b><b><span style="font-size:10.0pt;color:#50555A"><br>
</span></b><b><span style="font-size:7.5pt;color:#50555A">Meeting the needs and expectations of our customers and
employees has always been our highest priority and that includes protecting
their privacy in compliance with local, state and federal laws and in
accordance to Ansaldo STS USA, Inc. Privacy Code.</span></b><br>
<b><span style="font-size:7.5pt;color:green"><br>
ENVIRONMENTAL NOTE:<br>
IN SUPPORT OF OUR ENVIRONMENT, WE RECOMMEND NOT PRINTING EMAILS EXCEPT WHEN
ABSOLUTELY NECESSARY</span></b></p>

</div>

</div>


<br>_______________________________________________<br>
wplug mailing list<br>
<a href="mailto:wplug@wplug.org">wplug@wplug.org</a><br>
<a href="http://www.wplug.org/mailman/listinfo/wplug" target="_blank">http://www.wplug.org/mailman/listinfo/wplug</a><br>
<br></blockquote></p>