ChinaUnix.net
相关文章推荐:

gcc447编译linux26出错

arm-linux-gcc -v执行都说有systax error, "<" unexpected 编译helloworld也有"<" unexpected 各位大侠,交叉编译环境是直接从别人那里下的3.3.2,请问还需要改什么文件

by jwtiger - 程序开发 - 2006-06-04 23:27:14 阅读(781) 回复(0)

相关讨论

最近尝试编译交叉编译工具链时,请大家指教。 使用的os为fc5。gcc为4.1.0 在编译gcc-core-4.1.0之前,已经成功编译了binutils-2.16.1 configure使用了 --target=$TARGET --prefix=$PREFIX --enable-languages=c --disable-threads --disable-shared --with-newlib --without-headers 的标志 有回复的消息: checking for --enable-version-specific-runtime-libs result: no 编译gcc时有提示: ../.././gcc/config/arm/iwmmxt...

by zjmcorleone - 程序开发 - 2006-05-20 09:36:56 阅读(896) 回复(1)

小弟有难。请各位指点。 在fedora5上首次编译toolchain时。 在第一次编译gcc退。 在编译好了binutils后,修改gcc/config/arm/t-linux中的有关语句。 configure如下: gcc>./configure --taret=$TARGET \ --prefix=$PREFIX \ --without-headers \ --enable-languages=c \ --disable-threads \ --disable-shared 然后,make all install时: configure: error: Ccompiler cannot create executables make[1]*** [con...

by zjmcorleone - 内核/嵌入技术 - 2006-05-19 16:37:35 阅读(801) 回复(0)

先用c++写了一段程序里面用到了一个动态链接库的三个函数,我在头文件里已经将这三个函数声明了,然后编译,命令如下:g++ filename.cpp -L. -lseg -o filename -lm。编译链接通过,程序运行正常,然后我用c将程序重新写了一遍,实现的功能是一样的,也是调用那个动态链接库里的函数,头文件没有变,然后用gcc编译连接,可是怎么也通不过连接,总是提示:/tmp/ccc9pv6w.o(.text+0x3d): In function `main': : undefined reference ...

by ldalei - C/C++ - 2005-08-24 09:49:19 阅读(7825) 回复(10)

Solaris10 b69 用pkgadd安装好了 gcc 又用pkgadd安装好了 libiconv 修改了 /etc/profile 最末尾加了 PATH=/usr/local/bin:/bin:....;export PATH cc=gcc;export cc 重新用 root 登陆后 #cc cc:not found #gcc gcc:not found #/usr/local/bin/gcc gcc: no input files 控制台也给坏了 光有红色框框 没有#提示符了 只好用 This Host

by dolink - Solaris - 2004-12-17 17:31:15 阅读(694) 回复(2)

我装了红旗4。1 然后手装了gcc 开发环境。用kedit 编了个c 程序。 gcc test.c 。no newline at the end of file 的提示。不知何故。 请指教。 :(

by blfk2002 - C/C++ - 2004-12-22 18:41:25 阅读(743) 回复(6)

我下了一个gcc2.95,configure通过,然后make,信息为: .... Undefined first referenced symbol infile _fini /usr/ccs/ lib/crt1.o ERROR:Symbol referencing errors. No output written to gencheck collect2: ld returned 1 exit status *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) # 系统为sco5.07 哪位高手帮我看看?? QQ:58039341

by pride999 - 其他UNIX - 2004-04-30 19:01:43 阅读(1234) 回复(5)

$ ../gcc-3.3.2/configure --target=$TARGET --prefix=$PREFIX --without-headers --with-newlib --enable-languages=c++ $make all-gcc 现如下错误,请问是何原因? nfig -I../../gcc-3.3.2/gcc/../include -DL_muldi3 -c ../../gcc-3.3.2/gcc/libgcc2.c -o libgcc/./_muldi3.o In file included from tconfig.h:23, from ../../gcc-3.3.2/gcc/libgcc2.c:36: ../../gcc-3.3.2/gcc/config/i386/linux.h:...

by 晨雨 - 程序开发 - 2003-11-26 15:23:57 阅读(521) 回复(0)

bash-2.05$ ./configure --prefix=/usr/local/httpd --enable-module=auth_anon checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... sparc-sun-solaris2.8 checking host system type... sparc-sun-solaris2.8 checking target system type... sparc-sun-solaris2.8 Configuring Apache Portable Runtime library ... checking for APR... reconfig configuring packag...

by chars - Solaris - 2004-02-28 01:45:38 阅读(1178) 回复(8)

小弟刚刚接触linux, 用gcc进行c编程, 在输入以下命令后: # gcc -Wall /home/maintain/gcc/get_time.c -o get_time /home/maintain/gcc/get_time.c:31:19: stdio.h: No such file or directory /home/maintain/gcc/get_time.c:32:20: stdlib.h: No such file or directory /home/maintain/gcc/get_time.c:33:20: string.h: No such file or directory /home/maintain/gcc/get_time.c:34:18: time.h: No such file or directory 系统...

by mingtinghui - 程序开发 - 2006-01-01 18:36:06 阅读(1526) 回复(6)

我已经在linux的添加/删除程序中增加了开发的组件。 但是在终端中输入gcc,提示" no input files",是我没输入编译文件的缘故? 用whereis gcc查看,提示“/usr/bing/gcc usr/lib/gcc usr/libexex/gcc /usr/share/man...."是不是说明系统中已经安装了gcc编译器? 还有请教,linux系统与windows系统之间如何互相浏览对方的文件内容。

by steven0574 - 程序开发 - 2005-07-02 22:42:27 阅读(636) 回复(4)