jipe wrote:
> On 02 Oct 2002 17:16:41 +0100
> Andy Weller <[EMAIL PROTECTED]> wrote:
> 
> 
>>Dear all
>>
>>I have installed gcc2.96-2.96-0.80mdk.i586.rpm (along with 3.2) under
>>9.0 as some 3rd party application requires it. To run the install script
>>I:
>>
>># su
>># cd /mnt/cdrom
>># ./install-unix
>>
>>At present it still bums out as I think it is still recognising 3.2. Is
>>there a command I pass with './install-unix' so that it recognises 2.96?
>>I have tried:
>>
>># gcc-$(gcc2-version) ./install-unix
>># ./install-unix gcc-$(gcc2-version)
>>
>>Both to no avail... Any clues/ideas would be greatly appreciated!
>>
>>Andy
>>
>
> currently, you can set CC to point on the compiler you wish to use and maybe CXX to 
>if you need a c++ compiler.
> CC=/path_to/gcc
> CXX=/path_to/c++
> ./install-unix
> but i cannot know if this will work with your install script :-/ ....
> 
> bye
> jipe
> 

$ rpm -qa | grep gcc
gcc-cpp-3.2-1mdk
gcc-3.2-1mdk
gcc-c++-3.2-1mdk
libgcc1-3.2-1mdk

I would see that the same versions of gcc-cpp and gcc-c++ are also 
installed then, as root, do:

# update-alternatives --config gcc

This script allows you to switch between different versions of gcc or 
other programs linked in /etc/alternatives.

IIANM
Rolf


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to