Hi, > 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. Nico _______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
