ChinaUnix.net
相关文章推荐:

linux 怎么编译c

[root@localhost c++]# ls first.cpp two.cpp [root@localhost c++]# c++ gcc -o first first.cpp c++: gcc: //乱码 [root@localhost c++]# ./first bash: ./first: //乱码 [root@localhost c++]# //没什么反映???? [code] //first.cpp #include ; using namespace std; int main() { cout <<"hello,world"; return 0; } [/code]

by j3rry - C/C++ - 2004-02-15 23:57:06 阅读(2082) 回复(4)

相关讨论

小弟写了一个C++程序,用g++ *.c && ./a.out 来编译输出,结果,一些C++关键字,编译不能识别,我该怎么做,求教

by hufubin - C/C++ - 2008-01-05 14:33:34 阅读(1709) 回复(2)

第一次在linux 下学C++ , 怎么编译,变成执行文件啊, 先谢谢了.G++编译时总是编译不了,报错. linux 9.0下.

by tiansky - C/C++ - 2004-05-22 20:59:00 阅读(847) 回复(3)

第一个问题 proc: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory 第二个问题 #include int main() { printf("hello,word"); return0; } 我编译个hell,world 测试我的环境是否搭建好了,竟然出现这么多错误 oracle@linux:~/test> proc test.pc Pro*C/C++: Release 10.2.0.1.0 - Production on Mon...

by taotao_112206 - C/C++ - 2010-02-24 10:11:27 阅读(7023) 回复(14)

linux的版本是(Asiainux) 我看makefile文件里面是这样写的 CC = xlc 错误的信息是: xlc -g -DDEBUG -DVC_DEBUG -qdbcs -I../../../src/lib/c_hub_vc -I. -I../../../src /p_hub_vcent -I../p_hub_vcent -c p_hub_vctmsgreg.c make[1]: xlc: [] 是什么原因啊? 怎么修改啊?

by sjanet - 程序开发 - 2007-01-04 18:59:07 阅读(855) 回复(7)

linux的版本是(Asiainux) 我看makefile文件里面是这样写的 CC = xlc 错误的信息是: xlc -g -DDEBUG -DVC_DEBUG -qdbcs -I../../../src/lib/c_hub_vc -I. -I../../../src /p_hub_vcent -I../p_hub_vcent -c p_hub_vctmsgreg.c make[1]: xlc: [] 是什么原因啊? 怎么修改啊?

by sjanet - Linux环境编程 - 2007-01-04 18:59:07 阅读(1818) 回复(7)

我准备在FC8下写驱动程序,但是总是编译不成功,这是为什么?是不是没有源码树呢?该怎么建立呢?

by ahnuzj - 内核源码 - 2008-06-05 13:34:44 阅读(1241) 回复(0)

我的目的是想,在把.cpp和.c文件,传到服务器(linux服务器)编译上之前,怎么可以在自己的电脑上编译一下,有没有语法错误; Uedit32有这个功能吗?

by xinyao20130814 - 服务器应用 - 2013-08-14 16:40:31 阅读(864) 回复(2)

windows中我用dev编译c代码,今天装了红旗linux3.2,完全安装,不知道怎么用c编译器?(我很菜)

by aux888 - C/C++ - 2006-10-04 19:20:49 阅读(1137) 回复(1)

linux怎么用C++BuilderX 来编译wxWindow的程序? 我知道在命令行中写 `wx-config --cxxflags --libs`就可以编译成功wxWindow的程序,但在C++BuilderX中好象没有让我加`wx-config --cxxflags` 或`wx-config --libs`的选项呀?我把BuilderX的编译选项翻遍了也没找到 :cry: 还请各位仁兄指点。

by zgce - C/C++ - 2004-06-22 00:55:39 阅读(816) 回复(0)

我已经将新版本的内核源代码成功编译了,我要是系统启动时引导我刚编译好的内核而不是以前的内核,请问各位我应该怎样做?

by wgj_126 - 内核源码 - 2008-09-18 15:13:37 阅读(2140) 回复(5)