ChinaUnix.net
相关文章推荐:

gcc 是否可以检测代码可移植性

就像NASM一样,把代码直接编译成二进制文件,不需要函数入口和加入bootstrap之类的东西。gcc有这样的参数吗?

by baicj - C/C++ - 2005-09-05 21:46:19 阅读(2737) 回复(2)

相关讨论

能用gcc编译成功的C程序或C++程序都是完全移植的 我这样理解对么?

by xzh2002 - C/C++ - 2003-12-29 15:19:09 阅读(975) 回复(4)

while(k!=2){ //cout <代码把cout<

by leeews - C/C++ - 2008-06-10 17:54:32 阅读(2446) 回复(12)

写了个复制文件内容的代码为什么在gcc就编不通呢》???[code]#include #include #include using namespace std; ifstream open_file_in(string str) { ifstream fin; fin.open(str); return fin; } ofstream open_file_out(string str) { ofstream fout; fout.open(str,fstream::out|fstream::app); return fout; } int main(void) { string file_name; cout<<"pealse input a file...

by majijia505 - Linux环境编程 - 2012-03-05 19:01:38 阅读(1244) 回复(4)

还有不知如何在编译时用gcc进行编译。请指教

by freebird3 - 其他UNIX - 2004-11-17 18:24:15 阅读(1495) 回复(1)

比如[code] class InterfaceOne { public: virtual void get_name(unsigned long nID,char* pOut)=0; }; class InterfaceTwo { public: virtual unsigned int get_age(unsigned long nID)=0 }; class Preson : public InterfaceOne, public InterfaceTwo { public: virtual void get_name(unsigned long nID,char* pOut){}; virtual unsigned int get_age(unsigned long nID){} }; [/code]能否判断 Preson 是否...

by imnewjob - C/C++ - 2013-04-22 10:55:22 阅读(1593) 回复(6)

近期有个项目需要对应该系统平台, 之前代码是由gcc编译的, 已在IBM AIX5.3上顺利运行, 现在需要移植在OS400 V5R3上, 问下该平台下是否gcc 能提供个下载连接么? [ 本帖最后由 bittertea 于 2009-8-31 09:45 编辑 ]

by bittertea - AS400 - 2009-08-29 12:50:31 阅读(2374) 回复(3)

请问想编译运行C程序的话是不是只安装gcc包就了,要不要安装binutils和其它包的呢?

by eric_he - 系统管理 - 2004-10-18 11:59:32 阅读(454) 回复(0)

请问想编译运行C程序的话是不是只安装gcc包就了,要不要安装binutils和其它包的呢?

by eric_he - Linux系统管理 - 2004-10-18 11:59:32 阅读(534) 回复(0)

我想看gcc 下的标准函式库源代码哪边看?? gcc 是open source 那看到他gcc编译器的标准函式库的源代码吗?? 谢谢

by shihyu - C/C++ - 2006-12-08 19:43:53 阅读(1667) 回复(1)

怎么编译这个内核模块代码? 我不会编译! 大家别怪。 gcc -O6 -Wall -DCONFIG_KERNELD -DMODULE -D__KERNEL__ -DLinux -c mymod.c 这个我是看的Linux系统分析与高级编程的18章, 但是我编译出来的模块不能加入: $ insmod mymod.o 告诉我版本不对!怎么办? $ mymod.o: kernel-module version mismatch mymod.o was compiled for kernel version 2.4.9-9 while this kernel is version 2.4.28-14 我也在mymod.c加了这一句话:(还...

by hifan.cn - 内核/嵌入技术 - 2006-01-04 17:45:38 阅读(1233) 回复(3)