Quote:
Originally Posted by colucix
gcc and other development tools are not available in the Desktop CDs, but if you add internet source repositories it would be available. What repositories did you set, anyway?
|
Hello and thanks for the response.
When I do rpm -qa | grep gcc, I get:
_______ BEGIN OUTPUT _____________
libgcc42-4.2.1_20070724-17
gcc42-4.2.1_20070724-17
gcc42-c++-4.2.1_20070724-17
gcc42-gij-4.2.1_20070724-26
gcc42-32bit-4.2.1_20070724-17
libgcc42-32bit-4.2.1_20070724-17
gcc-gij-4.2-24
_______ END OUTPUT _____________
When I go to /usr/bin and find "gcc-4.2"
If I do "file gcc-4.2", I get:
gcc-4.2: ELF 64-bit LSB (executable), x86_64 Version 1 (SYSV), for GNU/Linux 2.6.4 dynamically linked (uses shared libs), stripped
When I do a test compile with gcc-4.2
Ex: gcc-4.2 test.c -o testme <-- I get a "testme" executable that WORKS
So...
I try :
alias gcc='/usr/bin/gcc-4.2' <-- RESULT: doesn't work, still get error with RPM
ln -s /usr/bin/gcc-4.2 /usr/bin/gcc <-- RESULT: doesn't work, still get error with RPM
BTW, /usr/bin ~is~ in the $PATH.
Any hints on the problem are appreciated ...
TIA