Hello everyone, how can I turn off the optimization of llvm-gcc, just like the "-O0" do to gcc ? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060411/dbbdd2dc/attachment.html>
John Criswell
2006-Apr-11 15:30 UTC
[LLVMdev] How can i turn off the optimization of llvm-gcc
Nai XIA wrote:> Hello everyone, how can I turn off the optimization of llvm-gcc, > just like the "-O0" do to gcc ?You can use llvm-gcc -Wa,-disable-opt -Wl,-disable-opt to disable the optimizations done by gccas and gccld, respectively. -- John T. -- John T. Criswell Research Programmer University of Illinois at Urbana-Champaign "It's today!" said Piglet. "My favorite day," said Pooh.