WilliamKF n00b
Joined: 26 Apr 2013 Posts: 6
|
Posted: Sun May 05, 2013 12:39 pm Post subject: Trouble switching to gcc v3.4.6 on Interix |
|
|
I've successfully built v3.4.6 of gcc for Interix.
Code: | root@h3-xp-pro-sp3 src # gcc-config -l --nocolor
[1] i586-pc-interix3.5-3.4.6 *
[2] i586-pc-interix3.5-4.2.4
|
However, when I try to config with the older compiler:
Code: | root@xp-pro-sp3 src # gcc-config i586-pc-interix3.5-3.4.6 --nocolor
* Switching native-compiler to i586-pc-interix3.5-3.4.6 ...
* double insanity with gcc-4.2.4 and //opt/gentoo/usr/i586-pc-interix3.5/gcc-bin/4.2.4/gcc-4.2.4
[A[72C [ ok ]
* If you intend to use the gcc from the new profile in an already
* running shell, please remember to do:
* (bash) # . /opt/gentoo/etc/profile
* or
* (tcsh) # source /opt/gentoo/etc/csh.login
|
(Should I be concerned about the 'double insanity' message?)
After doing above to switch to it, I can do 'gcc --version' fine but 'g++ --version' fails with:
Code: | gcc-config: error: could not run/locate 'g++'
|
I can switch back to v4.2.4 again and g++ works properly:
Code: | root@xp-pro-sp3 src # gcc-config i586-pc-interix3.5-4.2.4 --nocolor
* Switching native-compiler to i586-pc-interix3.5-4.2.4 ...
[A[72C [ ok ]
* If you intend to use the gcc from the new profile in an already
* running shell, please remember to do:
* (bash) # . /opt/gentoo/etc/profile
* or
* (tcsh) # source /opt/gentoo/etc/csh.login
|
I tried adding the `. /opt/gentoo/etc/profile` but the results are unchanged for g++ not located.
How can I get g++ to be located for the older compiler? |
|