Problems with GCC-4.3

Hi Guys,

I’m using opensuse 11 with KDE 3.5 and I would like to change my gcc version to an older version (4.2) because I’m having some problems with gcc4.3 when I try to compile, for instance, NVIDIA-Cuda.

Is it possible? If yes, how can I do it?

Thanks!

Hi,

I guess downgrading is not possible because all programs were build and linked against the new gcc version. But as far as I know it is possible to have multiple gcc’s installed ad the same time. There is a howto on the gcc site: GCC Frequently Asked Questions - GNU Project - Free Software Foundation (FSF) .

hope this helps

bernardo rocha wrote:

>
> Hi Guys,
>
> I’m using opensuse 11 with KDE 3.5 and I would like to change my gcc
> version to an older version (4.2) because I’m having some problems with
> gcc4.3 when I try to compile, for instance, NVIDIA-Cuda.
>
> Is it possible? If yes, how can I do it?
>
> Thanks!
>
>

What problems are you having? Often it’s easier to resolve the problems
with the source code, than to replace / downgrade gcc. And installing
multiple versions of gcc gets confusing quickly.


L R Nix
lornix@lornix.com

bernardo rocha wrote:

>
> Hi Guys,
>
> I’m using opensuse 11 with KDE 3.5 and I would like to change my gcc
> version to an older version (4.2) because I’m having some problems with
> gcc4.3 when I try to compile, for instance, NVIDIA-Cuda.
>
> Is it possible? If yes, how can I do it?
>
> Thanks!
>
>

Actually, a quick search gives a solution which would help you, from the
NVIDIA Cuda forums, ‘Cuda on Linux’, third item from the top…

“Success on OpenSuse 11”
http://forums.nvidia.com/index.php?s=08b90a00cbd5444cd3583c2e2628e3fa&showtopic=72500

And from that article, the detailed description of how to achieve “Success
on OpenSuse 11”

http://www.acooke.org/cute/GPGPUNVidi0.html

Give those a try.


L R Nix
lornix@lornix.com

Okay…

Actually the problems are very easy to solve…I have to include some header files…but, the question is that I don’t want to do it.

Anyways, thanks for your help!