Default C Compiler

5 respostas [Última entrada]
awauk

I am a member!

Desconectado
Joined: 07/09/2015

I noticed that gcc nor cc was default as a c compiler... Is this correct or did something happen with my install? I simply installed gcc, but was curious why it isn't installed by default. Is this to decrease the install file?

Legimet
Desconectado
Joined: 12/10/2013

That's normal. As for why it's not installed by default, I think the reason is that most users don't need GCC.

lembas
Desconectado
Joined: 05/13/2010

I guess you could also look at it as a security measure.

tomlukeywood
Desconectado
Joined: 12/05/2014

...?

a security measure to not have a c compiler?

lembas
Desconectado
Joined: 05/13/2010

Basically not having anything you don't use is a security measure. And a compiler gives a pretty uniquely useful tool for an attacker.

awauk

I am a member!

Desconectado
Joined: 07/09/2015

That's the thought that I had. If you need gcc, it is a simple apt-get away.