Hello, Roger Mason <[email protected]> writes:
> I need gcc 4.3 to compile a specific application. I am hoping that I > can install gcc 4.3 alongside 4.1.1 without suffering some awful > catastrophe. This is the output of emerge on the machine in question: The compilation finally completed. It only took about 14 hours. I followed the info presented at the end of the installation and did, as root: gcc-config i686-pc-linux-gnu-4.3.2 and gcc-config -l now says: garnet rmason # gcc-config -l [1] i686-pc-linux-gnu-4.1.1 [2] i686-pc-linux-gnu-4.3.2 I also ran source /etc/profile, as recommended and gcc -v now reports gcc-4.3.2. However, as an ordinary user gcc -v reports: garnet ~ $ gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/configure (blah, blah) That is after running source /etc/profile _and_ (when that did not change the reported gcc version) logging out and back in. How do I set gcc to version 4.3.2 for an ordinary user? Thanks, Roger

