Click to See Complete Forum and Search --> : libgcc and mandarake 9


greyhammer
05-21-2004, 03:46 PM
Hello all.

I've got Mandrake Linux 9 - and it came with a Compaq Preario and had written all over the CDs (ONLY USEABLE ON COMPAQ PCs). Well, guess what - I assembled my machine. Anyway - the problem is that I don't seem to find gcc anywhere.

rpm -qa|grep gcc

gives me a gcc-3.2-1mdk and libgcc1-3.2-1mdk but if I try g++ or gcc or cc at the shell, I get nothing. And I also have RH9, but the version of gcc there seems to require the mdk version of libgcc.

bwkaz
05-21-2004, 06:38 PM
Originally posted by greyhammer
if I try g++ or gcc or cc at the shell, I get nothing. You do get something (you have to; under no circumstances will the command "gcc" (with no other arguments) print out nothing). What is it that you get, exactly?

greyhammer
05-21-2004, 07:38 PM
I did get nothing - because i didn't have gcc-3.2-1mdk, but gcc-cpp-3.2-1mdk installed. I misread that!

Anyway - you're right, gcc without any arguments should give "no input files". Should have caught on to that.

I've finally sorted the matter out - I needed to install a couple of other rpms too: They don't come with the mandrake cds I got.
kernel-headers-2.4.18-10
glibc-devel-2.2.5-16mdk
libstdc++5-devel-3.2-1mdk.i586.rpm

in addition to gcc-c++ to make gcc and g++ work.

Thanks