Apt-get :: Install C and C++ Compilers



OK, I have done a HD Install, I have upgraded to GNU, and enabled apt. I have used synaptic to install gcc, and it had dependency problems with g++. The problems so far are:

- Gcc doesn't have any header files, where might I find them?
- G++ can't be installed because of dependency problems.

I was wondering if anybody had any help for me. If it can't be done with apt, I realise I could build it all from source, but that's a pain in the a*s

You should install a gcc package.

Try doing an apt-cache search gcc as root.

Then pick one of the install packages. A safe bet might be: gcc-3.4.

apt-get install gcc-3.4

That should give you everything you need including g++ and necessary header files and libs.

I hope this is too fundamental for you.

Jeff

Thanks for your help, I'll now be able to participate in the 2006 Allegro SpeedHack (Game Programming Contest).

Anyway, why do you hope it's too fundamental for me?

Hi Stanley,

I'm not a guru and sometimes I make suggestions and it is things that people have already tried, hence too fundamental. I meant no offense.

I have been playing with computers since the late 60s and I have never gone beyond the fundamental stage. It seems computers and young programmers just get smarter and smarter a lot faster than me. :)

Jeff

Quote (faroutscience @ Aug. 02 2006,00:44)
I have been playing with computers since the late 60s and I have never gone beyond the fundamental stage. It seems computers and young programmers just get smarter and smarter a lot faster than me. :)

Jeff

In the 60's I believe the 'fundamental' language was still Assembler. Those programmers were worth their weight in gold. Computers and young programmers may have got faster but in my opinion, none more smarter.
Next Page...
original here.