Hi, I got the following error message when I try to compile llvm-gcc with gcc 3.4.6: cc1plus: error: unrecognized command line option "-Wno-variadic-macros" make[3]: *** [llvm-main.o] Error 1 Someone have an idea ? thanks ________________________________ This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. An NDS Group Limited company. www.nds.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110202/1ee9496f/attachment.html>
Hi, On Wed, Feb 2, 2011 at 1:33 PM, Zivi, David wrote:> Hi, > I got the following error message when I try to compile llvm-gcc with gcc > 3.4.6: > > cc1plus: error: unrecognized command line option "-Wno-variadic-macros" > make[3]: *** [llvm-main.o] Error 1 > > Someone have an idea ?-Wno-variadic-macros is only understood by GCC 4.0 and above. Did you switch your compiler without re-running configure? (configure checks that the compiler understands -Wno-variadic-macros, among others) Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds
> cc1plus: error: unrecognized command line option "-Wno-variadic-macros" > make[3]: *** [llvm-main.o] Error 1 > > Someone have an idea ?Yes, C++ parts of llvm-gcc are built via your system compiler which does not support this option. Current workaround is either to upgrade compiler or hack the makefiles to remove this option. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Possibly Parallel Threads
- [LLVMdev] Problem when build llvm-gcc using llvm-gcc4.2-2.5.source.tar.gz
- [LLVMdev] Problem when build llvm-gcc using llvm-gcc4.2-2.5.source.tar.gz
- [LLVMdev] 2.5 Pre-release2 available for testing
- [LLVMdev] 2.5 Pre-release2 available for testing
- [LLVMdev] llvm-gcc fails to build libgcc when built with itself