[LLVMbugs] Compiling to Win32

Tom Primožič tom.primozic at gmail.com
Sat Dec 22 13:44:22 PST 2007


Hello! I didn't know where exactly to post this question, so I hope you will
redirect me if this is the wrong list.

I am interested in LLVM, particularly for the implementation of a
programming language, and have been looking at the LLVM documentation
recently.

However, I was wondering what exactly do these two lines, extracted from the
Portability and Supported Platforms
(http://llvm.org/docs/ReleaseNotes.html#portability):


   - Intel and AMD machines running on Win32 using MinGW libraries
   (native)
   - Intel and AMD machines running on Win32 with the Cygwin libraries
   (limited support is available for native builds with Visual C++).

Does this mean that LLVM cannot produce Win32 application independently? So
that I can not use it (for example, from an IDE) without installing
third-party libraries? Do these libraries need to be distributed along with
the generated executables?

Please help me. I would like to understand exactly what I need to (i)
compile a native, complete, optimized program executable (from source code
to LLVM internal representation using my front-end, then optimizing,
emmiting machine code, and linkindg with LLVM), ready to be distributed to
end users, (ii) compile to some custom bytecode, than make a runtime, on top
on LLVM, that would JIT-compile that bytecode and run it (in client's
computer - like Flash, Java, ...), and (iii) to provide the end user with
the option to optimize and recompile the program.

 - Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20071222/6ae55e22/attachment.html>


More information about the llvm-bugs mailing list