This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: C++ compiler not installed on this system - error
- From: Philip Herron <redbrain at gcc dot gnu dot org>
- To: ddmetro <puzzlesdj at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 16 Jul 2010 03:55:10 +0100
- Subject: Re: C++ compiler not installed on this system - error
- References: <29177520.post@talk.nabble.com>
On 15 July 2010 21:43, ddmetro <puzzlesdj@gmail.com> wrote:
> I am getting - 'C++ compiler not installed on this system' error, while
> trying to install 'elcor' dependency of 'trimaran' project.
>
Not quite sure this is the right place to ask about 'trimaran' project
probably best to ask them about this too
> I tried looking in '/usr/lib/gcc/i486-linux-gnu/' which had four versions of
> gcc installed (4.1, 4.1.3, 4.3, 4.3.3).
> However, $gcc -v
> gives following output:
> ----------------------------------------------
> Using built-in specs.
> Target: i686-pc-linux-gnu
> Configured with: ./configure
> Thread model: posix
> gcc version 4.4.1 (GCC)
> ----------------------------------------------
If a project is looking for a C++ compiler try:
$ g++ -v
And if it exists you have a valid c++ compiler. Beyond that it could
be some configure.ac problem with that project. You ask about ubuntu
in specific basically just:
$ apt-get install build-essential
And you should be good to go!Hope this helps!
--Phil