how does one install c++ compiler on trisquel?

3 respuestas [Último envío]
Vdub
Desconectado/a
se unió: 12/21/2010

Hi, I just downloaded trisquel and I cannot figure out how to install c++ compiler. Anyone knows? Thanks

Cyberhawk

I am a translator!

Desconectado/a
se unió: 07/27/2010

I'd assume gcc will compile c with or without pluses, just try aptitude search gcc

freemind
Desconectado/a
se unió: 03/12/2010

Go to Synaptic package manager and install the 'g++' package.

bifeo3
Desconectado/a
se unió: 12/03/2010

$ sudo aptitude install g++

$ g++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)