Where's my compiler?
just got mandrake, Discovery edition, and my shell doesn't recognize any of the compile commands (cc, g++, javac). isn't g++ prepacked with all versions of linux? do i have to first unpack it? thanks. - zev
|
Have you tried which gcc command ?
or try g and then hit the tab key and it will list all commands. HTH |
Yes, but I do not think it is install by default. Use the package manager to install the development RPM
|
Okk, you can test whether it's installed:
type as a user gc<tab> , if gcc is shown it's alright. If you do not have gcc installed: go to the console, get root (type 'su'), type 'urpmi gcc' . GCC is fine for C - compiling, I prefer G++ for C++ (to get G++, just type urpmi G++). If urpmi asks whether you want to install dependencies; allow it. |
All times are GMT -5. The time now is 10:43 AM. |