Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does llvm/clang still need MinGW gcc after built?

I am new to llvm/clang and have successfully built clang with MinGW.

I have one simple question - is MinGW gcc still needed for clang to work as a c/c++ compiler?

Thanks, jweiboman

like image 667
jweiboman Avatar asked Feb 19 '12 09:02

jweiboman


1 Answers

Right now - unfortunately, yes. clang will use gcc to assemble / link the stuff. This is necessary to e.g. provide the proper cmdline for linker invocation adding CRT objects & libraries.

As soon as someone will provide the the complete "toolchain" definition for mingw in clang, this won't be necessary. Only assembler and linker (part of binutils) will be required.

like image 140
Anton Korobeynikov Avatar answered Nov 07 '22 13:11

Anton Korobeynikov