[cfe-dev] Should clang support more gcc options?

Zhongxing Xu xuzhongxing at gmail.com
Mon Dec 17 00:50:04 PST 2007


I wish to test clang by compiling some packages with the following commands:

./configure
make CC=clang CFLAGS=-fsyntax-only

But it turns out that clang does not accept a lot of gcc options, such as
-c, -O, etc.
Shall we make clang just accept them as dumb options to make it a drop-in
replacement for gcc? This can facilitate the testing of clang a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20071217/29b67a22/attachment.html>


More information about the cfe-dev mailing list