You should be able to achieve what
you want by passing -triple=i386-pc-mingw32 to the driver.
You meam I pass -triple=i386-pc-mingw32 to the Clang, and Clang will auto use ld.exe to link object files?
Or I must launch ld.exe manually?
Thanks!
======= 2012-08-29 14:22:51 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=======
Clang compiled with VS acts as a "native" Windows toolchain (uses MS
headers, object format, link.exe). You should be able to achieve what
you want by passing -triple=i386-pc-mingw32 to the driver. This will
effectively activate the mingw toolchain and you won't need to worry
about the object file format.Hi,All
I build Clang with VS2008, and I don't want to use Microsoft Link.exe.
Can I use ld.exe (I get it from MinGW) as the linker instead?
And which object file format should I use between Clang and ld.exe?
Thanks!
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡fiveight
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡fiveight@tom.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2012-08-29_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
= = = = = = = = = = = = = = = = = = = =
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
Àñ£¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡fiveight
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡fiveight@tom.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2012-08-29