Results 1 to 3 of 3
hi, i am new to linux using fedora 13. I installed gcc using command yum install gcc and i learned that when i will type g++ -v it will show ...
- 09-08-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 1
GCC Fedora not working
hi, i am new to linux using fedora 13. I installed gcc using command yum install gcc and i learned that when i will type g++ -v it will show the version of the gcc but it displays command not found. Whats wrong i am not able to compile my CPP program. Help me compiling my cpp program which is in / dir.

i am running the command g++ -v as su.
- 09-08-2010 #2
Hi and Welcome !
Execute this in Terminal
Post output here.Code:rpm -qa gcc
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-20-2010 #3
as root run
g++ (the c++ compiler) is not installed by default, only the C compiler.Code:yum -y install 'gcc-c++'
New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4


Reply With Quote