Heyu Zhu
2009-Oct-21 03:29 UTC
[LLVMdev] Problem when build llvm-gcc using llvm-gcc4.2-2.5.source.tar.gz
Hi, The gcc version in my system is 3.4.6 During make display error message and stop cc1plus:error: unrecognzied command line option -Wno-variadic-macros Must i update gcc to version 4.2.0 or above to resolve the problem? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091021/980bbe86/attachment.html>
Chris Lattner
2009-Oct-21 03:56 UTC
[LLVMdev] Problem when build llvm-gcc using llvm-gcc4.2-2.5.source.tar.gz
On Oct 20, 2009, at 8:29 PM, Heyu Zhu wrote:> Hi, > > The gcc version in my system is 3.4.6 > During make display error message and stop > > cc1plus:error: unrecognzied command line option -Wno-variadic-macros > > Must i update gcc to version 4.2.0 or above to resolve the problem?That is a sign that your native GCC is not new enough, upgrading to 4.2 or later should resolve the problem, but be aware of known-broken versions of GCC: http://llvm.org/docs/GettingStarted.html#brokengcc -Chris
Heyu Zhu
2009-Oct-21 12:03 UTC
[LLVMdev] Problem when build llvm-gcc using llvm-gcc4.2-2.5.source.tar.gz
Thanks. After update gcc to 4.2.4. It's OK 2009/10/21, Chris Lattner <clattner at apple.com>:> > > On Oct 20, 2009, at 8:29 PM, Heyu Zhu wrote: > > Hi, >> >> The gcc version in my system is 3.4.6 >> During make display error message and stop >> >> cc1plus:error: unrecognzied command line option -Wno-variadic-macros >> >> Must i update gcc to version 4.2.0 or above to resolve the problem? >> > > That is a sign that your native GCC is not new enough, upgrading to 4.2 or > later should resolve the problem, but be aware of known-broken versions of > GCC: > http://llvm.org/docs/GettingStarted.html#brokengcc > > -Chris >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091021/50d8ae51/attachment.html>
Maybe Matching Threads
- [LLVMdev] Problem when build llvm-gcc using llvm-gcc4.2-2.5.source.tar.gz
- [LLVMdev] Problem when build llvm-gcc using llvm-gcc-4.2-2.5.source.tar.gz
- [LLVMdev] problems running test suite (-mllvm -disable-llvm-optzns)
- [LLVMdev] problems running test suite (-mllvm -disable-llvm-optzns)
- [LLVMdev] Does mips backend support variable arguments in release version(llvm-2.6)?