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

Nico Weber nicolasweber at gmx.de
Mon Dec 17 02:28:03 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.

I sent a bash script that allows this a few days ago: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2007-December/000613.html

The bug I reported in that mail is not yet fixed too.


More information about the cfe-dev mailing list