Don't know if this will help or not. /usr/bin/gcc is a symlink to /etc/alternatives/gcc which in my case is a symlink to /usr/bin/colorgcc (don't ask be why it couldn't do it in one step... I don't know.)
My idea is change the link in alternatives to point to /usr/bin/gcc-2.96 instead.... then try to install... it could be the answer it could also screw some things up... don't have any way to test my theory but it's there. James On Wed, 2002-10-02 at 17:54, Rolf Pedersen wrote: > 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
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
