Error trying to configure/add another gcc
I am trying to add another gcc in /usr/local for backward compatibility
current version is: gcc version 3.4.6 /usr/bin/gcc > i want to keep that but install another one in the user local area. Have downloaded the relevant source and am getting and config.h error per: > ~/gcc-2.2.2/configure prefix=/usr/local/gcc/2.2.2 ../gcc-2.2.2/configure: cannot create a link `config.h', since the file `config/xm-prefix=/usr/local/gcc/2.2.2.h' does not exist > any known workarounds or fixes to get past this error will be great. |
Moved: This thread is more suitable in Linux Software and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Have found that it appears to be the gcc source - all except 2.95 will actually configure.
Prior to this each one either requires more arguments in the configure statement or the config.h cannot find a missing prefix file in the source. > I found a good web site white paper on what to do: http://www.tellurian.com.au/whitepapers/multiplegcc.php this has a source link as well for older versions of gcc that can be built and installed to run alongside the current gcc > so it is possible to do and not for all prior versions, unless you know how to overcome the errors. For me it is not that critical. |
All times are GMT -5. The time now is 07:14 AM. |