[Trisquel-users] Does Trisquel come with GCC pre-installed?

2014-12-20 Thread lakbk89
Recently I wrote a C code as part of a project. when I tried to compile it using gcc command, from Trisquel 7.0 (Belenos), the bash gives this warning bash: gcc: command not found Does this means Trisquel don't have a GCC C compiler pre-installed with it? Is there any workaround possible?

Re: [Trisquel-users] Does Trisquel come with GCC pre-installed?

2014-12-20 Thread Michał Masłowski
Why not install it or the build-essential package? signature.asc Description: PGP signature

Re: [Trisquel-users] Does Trisquel come with GCC pre-installed?

2014-12-20 Thread lakbk89
Thank you, Micha} and Magic Banana. But when I type gcc in Synaptic package manager, I have the following packages marked as installed; gcc-4.6-base (GNU base-package) gcc-4.8-base (GNU base-package) gcc-4.9-base (GNU base-package) libgcc1 (GNU support library) libgomp1 (GNU GOMP

Re: [Trisquel-users] Does Trisquel come with GCC pre-installed?

2014-12-20 Thread davesamcdxv
Install build-essential. It depends on GCC so it'll drag GCC into being installed as well.

Re: [Trisquel-users] Does Trisquel come with GCC pre-installed?

2014-12-20 Thread lcerf
There is a package that is simply named gcc. The first one in your screenshot. It depends on the default version of the GNU compiler. But you can install another version if you wish. gcc-4.9 for instance.

Re: [Trisquel-users] Does Trisquel come with GCC pre-installed?

2014-12-20 Thread tomlukeywood
This is the simplest way to do it 1. open a terminal 2. type sudo apt-get install gcc 3. press enter 4. enter your password 5. press y and press enter 6. wait for it to install then Enjoy gcc!

Re: [Trisquel-users] Does Trisquel come with GCC pre-installed?

2014-12-20 Thread lakbk89
By the by, where can I find the binary executable of GCC for Trisquel? I read somewhere that GCC maintainers only hosts the source code, whereby individual free software distributions bakes their packages from its flavour. Does it also depends on processor architecture? (Mine's is i386.)

Re: [Trisquel-users] Does Trisquel come with GCC pre-installed?

2014-12-20 Thread t8mf4nu6lizp
/usr/bin/gcc is a symbolic link to the executable of which ever version of gcc you have installed. If you wish to download the whole gcc package you can do so here (for Belenos on i386) http://packages.trisquel.info/belenos/i386/gcc/download

Re: [Trisquel-users] Does Trisquel come with GCC pre-installed?

2014-12-20 Thread lakbk89
@lembas: Thank you, dude. I will give it a try.

Re: [Trisquel-users] Does Trisquel come with GCC pre-installed?

2014-12-20 Thread t8mf4nu6lizp
Once you get the package it can be installed withsudo dpkg -i /path/to/package

Re: [Trisquel-users] Does Trisquel come with GCC pre-installed?

2014-12-20 Thread legimet . calc
gcc-4.9 is not available in the repos, except for the Go compiler gccgo-4.9.