wyc02520 发表于 2005-4-1 20:32:10

《求助》debian 里装gcc搞不定

我刚装了一个Debian   用sarge-i386-netinst.iso装的    只装个基本的系统
别的什么都没装    现在想装一个gcc
我运行apt-get install gcc
他只下十几M的东西   然后装了
然后我写了个C程序    编译的时候他提示说stdio.h找不到
我又写了个C++   编译的时候说没有g++这个命令
我不知道少装了什么 ?
谢谢

atfa 发表于 2005-4-1 22:25:09

你编译c++的文件,起码还要apt-get install g++啊

还有apt-get install automake make autoconfig

thinker007 发表于 2005-4-2 09:47:36

Please "apt-get dist-upgrade" ,"apt-get install make g++" first, you don't need "automake" and "autoconfig" if the program is simple.

wyc02520 发表于 2005-4-2 11:12:23

大致明白了谢谢
我就只写标准C和C++程序学C和C++
automake之类的东西现在还用不上吧??

wyc02520 发表于 2005-4-2 16:52:05

谢谢大家了已经解决了   
apt-get install g++就什么都解决了   
C和C++都能编译了
页: [1]
查看完整版本: 《求助》debian 里装gcc搞不定