Tagged Questions
4
votes
2answers
1k views
Ubuntu 13.04 with gcc/g++/gfortran 4.8 by default?
I plan to download and install Ubuntu 13.04 and I would like to have two compilers on my system.
First question: what is the version of gcc/g++/gfortran shipped with ubuntu 13.04 ? (is it 4.7.3 ?).
...
1
vote
1answer
73 views
linking cpp object file to c object file and create executable
Suppose i have a c++ file, created an object file and c file created another object file.
Now i need to link both into one executable. While i'm trying it is giving errors about c++ not found.
Can ...
2
votes
0answers
55 views
Cannot connect to ubuntuarchive.hnsdc.com, how to install g++? [duplicate]
Possible Duplicate:
‘Some index files failed to download’ while updating
I am using Ubuntu 10.04.
I typed sudo apt-get install g++ in the terminal and got the following output. I can't ...
4
votes
1answer
209 views
I can't compile a C++ program with the g++ command
If I try compiling my C++ source file by the following command:
g++ a.cpp
it outputs:
The program 'g++' can be found in the following packages:
* g++
* pentium builder
try:
sudo apt-get intsall ...
0
votes
0answers
3k views
“bits/predefs.h: No such file or directory” error when trying to compile gcc [closed]
Ubuntu 12's default compiler is 4.6.3; I'd like to use c++1x features only available in gcc 4.7.
Compiling gcc from source fails with the diagnostic bits/predefs.h: No such file or directory.
As ...