ChinaUnix.net
相关文章推荐:

cc1 warnings being treated as errors

How to solve this problem? Treat warning as warning? huh.. Black Thought

by 51dunk - C/C++ - 2008-02-27 10:39:55 阅读(3456) 回复(1)

相关讨论

RT 我又重新安装了gcc和g++还是报这个错误。 我发现使用yum安装的时候安装的是gcc-i686 不知道这个是针对64位机还是32位的啊 ? (新手可能比较幼稚)

by mars0518 - Linux新手园地 - 2011-07-27 19:01:09 阅读(3033) 回复(5)

本帖最后由 代小花 于 2014-05-24 18:57 编辑 《30天自制操作系统》中: cc1.exe -I$(INCPATH) -Os -Wall -quiet bootpack.gas : bootpack.c Makefile $(cc1) -o bootpack.gas bootpack.c -Os -Wall -quiet这个选项代表什么? .gas是作者自定义的格式还是一种通用的格式? 不要管下面这个图片。

by 代小花 - Linux环境编程 - 2014-05-21 11:33:43 阅读(845) 回复(0)

root@huquanqing-laptop:~/vivi# make ~/vi2/opt/host/armv4l/bin/armv4l-unknown-linux-gcc -I/root/vivi/include -I~/vi2/opt/host/armv4l/include/ -Wall -Wstrict-prototypes -O2 -fPIC -fomit-frame-pointer -mapcs-32 -mshort-load-bytes -msoft-float -c -o init/main.o init/main.c : warning: "__GNUC__" redefined : warning: this is the location of the previous definition

by tianshi007hao - Linux环境编程 - 2011-11-13 17:10:16 阅读(3370) 回复(0)

今天出现这个问题了,搜索了好久没发现解法,后来又换回2.4的版本,发现可以编译过,看来是CROSS的版本和LINUX2.6不匹配所致。有不对的还请大家指出 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/61454/showart_2008397.html

by wacious - Linux文档专区 - 2009-07-27 00:32:24 阅读(1465) 回复(0)

Sometime the compiling will be stopped becase of cc1, which's coredump while we compile sth on the FreeBSD in the vmware. Just add the next line to the vmware configuration .vmx MemTrimRate = "0" Note: that's number zero, not the letter O. 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/132/showart_240847.html

by mirnshi - BSD文档中心 - 2007-01-31 13:26:27 阅读(1056) 回复(0)

在看Computer Systems一书,第七章P463有个小问题,运行cc1命令。 在好多系统里面都试过了,但是不认识这个命令,我知道这是gcc的一个命令。 请高手指点!

by dj_ukyo - C/C++ - 2009-01-13 09:40:57 阅读(9164) 回复(8)

先前问了一个问题,就是cc1命令找不到? http://bbs.chinaunix.net/viewthread.php?tid=696784&pid=9936455&page=1&extra=#pid9936455 发现在我的系统里面是在/usr/lib/gcc-lib/i386-redhat-linux/3.2.2 albcamus教了一个办法: gcc -v hello.c 2>&1 |grep cc1 自己复习了一下就是: 1. -v Display the programs invoked by the compiler; 2. 2>&1 1表示屏幕输出 2表示错误输出.把标准出错重定向到标准输出; 3. grep 字符...

by dj_ukyo - Linux文档专区 - 2009-01-13 09:57:59 阅读(1712) 回复(0)

我编译内核, 用make menuconfig 时出错: gcc:error tyring to exec 'cc1':excvp:No such file or diretory 编译内核,主要是生成vmlinux.bin 如果用编好的内核文件vmlinux.bin,编译其他的,就可以! 是不是我的Gcc配置有问题? 如果Gcc 编有问题, 那编译其他的也有问题,可是编其他应用是好的!

by shanshi - 内核源码 - 2011-06-14 17:58:46 阅读(3993) 回复(1)
by lpdj - CPU与编译器 - 2009-08-25 19:09:46 阅读(2271) 回复(1)

用2.95编译器编译的u-boot没问题后,改用3.41编译,出现错误cc1: error: invalid option `short-load-bytes' 因是高版本的编译器不支持-mshort-load-bytes选项,在makefile中将其改为-malignment-traps即可。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/74524/showart_1999730.html

by yanys113 - Linux文档专区 - 2009-07-18 08:33:03 阅读(1645) 回复(0)