我尝试让gcc访问,我的文件现在看起来是这样的:-nostdinc
-I/usr/src/linux-headers-3.0.0-16-generic/arch/x86/include1 /lib/modules/3.0.0-16-generic/build/include/linux/list.h|24 col 42 warning| declaration of 'structlist_hea
我们希望使用交叉席-ng ct编译一个已定义的linux x86 32位工具链:gcc 4.8.4Linuxubuntu3.16.0-30-通用#40~14.04.1-Ubuntu清华1月15日17:45:15 UTC 2015 i686 GNU/Linux。-32/.build/i386-unknown-linux-gnu/build/build-libc-startfiles/csu/crtn.
在16.04 global main
main: call puts db "Hola",0
/usr/bin/ld: hola.o:将R_X86_64_PC32与符号`puts@@GLIBC_2.2.5‘重新定位时不能用于创建共享对象;使用-fPIC重新编译
/usr/bin/ ld :最终链接失败