[cfe-dev] Building llvm+clang on windows using mingw
fk.fuchs at googlemail.com
Wed Jul 21 23:36:35 PDT 2010
Ok after some small "Hello world" tests clang and clang++ seem to work, now.
(compiled using mingw32_sezero and --export-all-symbols). However, for
linking the a clang++ compiled executable I need to pass the
-fno-use-cxa-atexit flag, as mentioned here [
http://llvm.org/bugs/show_bug.cgi?id=7276]. Maybe someone could eliminate
these two annoyances by patching configure and Tools.cpp in trunk?
2010/7/21 Frank Fuchs <fk.fuchs at googlemail.com>
> ok insufficient RAM can be denied ;)
> concerning the compiler ... it was the llvm-gcc 2.7 release.
> May be the linker, because there I used the MSys provided one.
> In the meanwhile I compiled llvm+clang sucessfully (with
> --export-all-symbols), using the "sezero" build of mingw.
> I trust this compiler quite a lot since I used it successfully for
> Qt4.7beta and boost.
> However I need to test my build before declaring victory.
> Now any comments about export-all-symbols?
> Am 21.07.2010 um 15:14 schrieb Anton Korobeynikov:
> > Hello
> >> Update (soory for posting twice): building with the provided compilers
> >> the mentioned configuration fails with the error:
> >> "Memory exhausted" while building libLLVMAsmPrinter.a
> > Well, it seems that:
> > - Either your compiler / linker is buggy
> > - You indeed have too few memory for this
> > --
> > With best regards, Anton Korobeynikov
> > Faculty of Mathematics and Mechanics, Saint Petersburg State University
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev