Install C and C++ Compilers


Forum: Apt-get
Topic: Install C and C++ Compilers
started by: stanley

Posted by stanley on July 31 2006,10:41
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

Posted by faroutscience on Aug. 01 2006,02:06
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

Posted by stanley on Aug. 01 2006,16:20
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?

Posted by faroutscience on Aug. 01 2006,16:44
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

Posted by humpty on Aug. 01 2006,22:16
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.
Posted by faroutscience on Aug. 02 2006,01:00
Assembler, fortran, & punch cards.  :)
Posted by ^thehatsrule^ on Aug. 02 2006,03:41
If anyone reads this in the future, there's a DSL extension for this in myDSL.
Posted by Zucca on Aug. 02 2006,06:54
And it works too.
First I tried to install those with apt... Didn't work. But when I found the extension all worked just fine. :)

Posted by ubermai on Dec. 21 2006,22:51
I don't know how much programmers were worth in the 60s, but I am pretty sure the machines on which they worked were worth MUCH more.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.