./configure Configuring for a sparc-sun-solaris2.8 host. Created "Makefile" in /export/home/gcc-2.95 using "mh-frag" /usr/ucb/cc: language optional software package not installed *** The command 'cc -o conftest -g conftest.c' failed. *** You must set the environment variable CC to a working compiler.
by nortell - Solaris - 2003-01-23 14:48:16 阅读(1386) 回复(2)
./configure Configuring for a sparc-sun-solaris2.8 host. Created \"Makefile\" in /export/home/gcc-2.95 using \"mh-frag\" /usr/ucb/cc: language optional software package not installed *** The command \'cc -o conftest -g conftest.c\' failed. *** You must set the environment variable CC to a working compiler.
小弟把内核中的链表list.h移值到用户层中,使用比较方便,在X86 gcc 4.0下测试过,可以正常使用 但是把其移值到ARM上之后,却编绎通不过。arm-linux-gcc是2.95版的 后来改用4.1版的arm-linux-gcc可以编绎通过。但由于目标板必需使用2.95的编绎器.我用arm-linux-gcc 4.1编绎生成可执行文件,直接放到板子上却不能执行! 后为编了一个HELLO测试程序,用arm 4.1编绎后,移值到目标板上 gcc 用的是arm 2.95之后,仍不可运行,如何解决...
哪位有gcc 2.95.3 For SCO OpenServer 5.0.7的VOL安装包, 给鄙人发一个,不胜感激! unixnow@hotmail.com 谢谢! 谢谢!
[ 作者:zhuantie 转贴自:http://www.qiong.net ] 在sco unix5.05上安装gcc的步骤: 1。 下载两个软件包: 在sco网站上下载:gcc-2.95-VOLS.tar ftp://ftp2.caldera.com/pub/skunkware/osr5/vols/ 或者ftp://ftp2.caldera.com/pub/skunkware/98/osr5/devtools/gcc-2.95/gcc-2.95-VOLS.tar 2。在gnu.gcc.org网站上下载: gcc-2.95.tar.gz 3。用custom 安装 gcc-2.95-VOLS.tar 4。将gcc-2.95.tar.gz解压,解包...
请教高手,代码如下: { typedef struct testnopack{ char c[2]; }testnopack; typedef struct testwithpack{ char c[2] __attribute__ ((packed)); }testwithpack __attribute__ ((packed)); printk("weiwei debug test testnopack = %d. testwithpack=%d\n", sizeof(testnopack), sizeof(testwithpack)); } 当我用arm-elf-gcc 编译的时候 打印的得到的结果都是 4, 当我加上 -fpack-struct 编译标志的时候,...
我在Sparc Solaris 5.8下,gcc版本为2.95.3 用makefile编译程序,发现错误如下: ld: fatal: file /opt/nms/lib/libadidtm.so: wrong ELF class: ELFCLASS64 怀疑是libadidtm.so是64位的,但gcc编译的是32位的 但是用-m64,gcc2.95.3说是不支持。 请问如何解决??? 在线等
我在Sparc Solaris 5.8下,gcc版本为2.95.3 用makefile编译程序,发现错误如下: ld: fatal: file /opt/nms/lib/libadidtm.so: wrong ELF class: ELFCLASS64 怀疑是libadidtm.so是64位的,但gcc编译的是32位的 但是用-m64,gcc2.95.3说是不支持。 请问如何解决??? 在线等