hellangel1984 发表于 2007-08-10 18:21

编译uClinux的问题!大家帮帮我,谢谢了!

Hi all,

I got this message:

/usr/local/arm-elf/bin/ld.real: unrecognized option `--fatal-warnings'

while compililing user tools of uClinux-dist release
"uClinux-dist-test-20051209" that I just downloaded.
I am compiling for arm

$ tail vendors/config/common/config.arch

         # STLPort
         # Note that STL_INCDIR is not included by default since
         # it can cause conflicts
         STL_INCDIR=$(ROOTDIR)/include/STLport
         STL_LIBDIR=$(ROOTDIR)/lib/STLport/lib

         # Linker warnings are almost always a sign of badness
         LDFLAGS+= -Wl,--fatal-warnings
endif

$ arm-elf-ld --version
GNU ld 2.10
Copyright 2000 Free Software Foundation, Inc.

$ arm-elf-gcc --version
2.95.3


I commented out the LDFLAGS line, and everything looks fine now.
Does that mean that my toolchain is not supported anymore, or it is only
a configuration issue ?



   
我的交叉编译器为什么不识别--fatal-warnings这个选项呢?
我的系统是red hat 9
有没有人遇到过和我相同的问题呀,请教了!谢谢!
页: [1]
查看完整版本: 编译uClinux的问题!大家帮帮我,谢谢了!