[cfe-dev] clang+llvm uses gcc?

herz alexander.herz at mytum.de
Tue Jan 26 03:58:47 PST 2010


apparently I musunderstood something here. I'm trying to compile and run
the t.c from the getting started page
Invoking "clang t.c" gives me an error that it failed because it has no
permissions to access gcc. Why is it calling gcc? I though tzhe clang
front end parses c into llvm IL and then the llvm generates a x86
binary, so where and especially why is gcc needed?

Sorry if this is actually a llvm amd not a clang related question, I'm
confused :)


More information about the cfe-dev mailing list