What I have to do if I want to run Cpp program in linux
Hello all,
when I tried to compile cpp program in linux my gcc compiler is showing following error
>g++ 1.cpp //after running this iam getting following messages
*g++
*pentium-builders
*Try apt-get install <selected package>
make sure you have the 'universe' component enabled
bash: g++ command not found
what exactly this mean
I also tried to install new gcc version 4.3.0. After untaring that package I went through the instalation directory. According to confoguration maual I am supposed to follow the following steps.
%mkdir objdir
%cd objdir
% ./srcdir/configure [options] [target]
If I enterd the following command
% ./configure --enable-cpp ./final/gcc_cpp
I am getting following errors/warnings
*Warning Should use --build --host -- target
*Warning Invalid host type ./final/gcc_cpp
Invalid configaration ./final/gcc_cpp
I didn't undersatand what i did wrong there? Can any one please help me out from this
All I want is to run Cpp programs on my Dell(i686) Computer and iam using Ubuntu Linux
The GCC version Iam tring to install is 4.3.0
Please help me
Thanks