[LLVMdev] Clang64 on Windows using Mingw64 yields many linking errors?
justin.holewinski at gmail.com
Mon Jun 11 06:34:17 CDT 2012
On Mon, Jun 11, 2012 at 7:04 AM, Anton Korobeynikov <anton at korobeynikov.info
> First of all, note the "llvm" in the mailing list title. Clang
> questions should be asked in other ML.
(Cross-posting to cfe-dev)
> > 3. Run cmake and let it figure out that its using Clang on Windows.
> > 4. Build and realize that the link doesn't work because CMake pulls in
> > wrong libraries (per default it uses Microsoft naming conventions:
> > instead of libfoo.a).
> It seems like you're not targeting mingw32, but MS toolchains. Stuff
> won't work smooth here and major WIP.
> Everything else below can be ignored.
I don't think that's the issue here. CMake happily tries to link with the
mingw libs, but as pointed out in that CMake ML post, the CMake scripts do
not know how to pass GCC-style flags to Clang on Windows. Mikael, can you
post the link line that CMake generates (make VERBOSE=1), preferably to
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LLVMdev