Isnt gcc supposed to invoke the right compiler for you if you pass it a .cpp, from the file sufix?
Isnt gcc supposed to invoke the right compiler for you if you pass it a .cpp, from the file sufix?
hey, i think u cann reload the spm and then try to install gcc and g++
cheers
kefei
People please note that this is a very old thread!
Ubuntu 12.04
Yup, that worked for me too. I had forgotten about that, used to be part of my basic install ritual.
__________________________________________________ ______________________
DELL Precision 390 T6700 @2.6Ghz 8GB nVidia NV44 Quadro NVS 285
HP Slimline s5150t Q9300@2.8GHz 8GB Nvidia G210
Lenovo Ideapad y550p i720 1.6Ghz 8GB Nvidia GT240M
home@ubuntu:~/Desktop$ sudo apt-get install g++
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
g++: Depends: g++-4.0 (>= 4.0.3) but it is not going to be installed
E: Broken packages
home@ubuntu:~/Desktop$
any solution?
What do you really want to do?
Are you trying to execute a Windows program on Linux? If yes, then try Wine http://www.winehq.org/
If you want to develop .NET applications on Linux, then try Mono http://www.mono-project.com
Bookmarks