On Mon, 19 Nov 2001 10:29:08 +0100, hellmut <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> I know that I have installed both gcc versions - 2.96 and 3.01. I'd like
> to use the 3.01 version, but how?

I'm assuming that you use bash for your shell (if you don't know what bash is,
then you're most likely using it).

Some apps don't like gcc 2.96. In that case, try switching compilers.

To use gcc 2.96 (default):

        $ export CC=gcc-2.96 CXX=g++-2.96

To switch to egcs/kgcc:

        $ export CC=egcs CXX=egcs++

                or

        $ export CC=kgcc CXX=kg++

To switch to GCC 3.0.1 (only in Mandrake 8.1, not 8.0):

        $ export CC=gcc-3.0.1 CXX=gcc-3.0.1

You obviously require the relavant gcc packages to be installed.

-- 
Sridhar Dhanapalan

                "Windows is not done until Lotus 123 won't run."
                        -- Old Microsoft internal slogan

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

Reply via email to