[LLVMdev] LLVM tools sufficient to build the cfrontend for windows from MinGW?

Jeff Cohen jeffc at jolt-lang.org
Tue Nov 2 08:48:46 PST 2004


The problem with building the frontend on Windows is that gcc cannot be
bootstrapped using Window's native compiler -- i.e. VC++ -- unlike every
other platform.  It can be built on Windows using gcc, of course, but
even then only if the entire GNU environment is present.

The real problem is that the bootstrapped frontend binaries built using
gcc may not properly link with LLVM binaries built using VC++.  After
all, gcc runs on Windows only by deluding itself into thinking it's
really running on Unix, and it does this by using a runtime that
emulates Unix. This runtime cannot be happy sharing a process with the
VC++ runtime.

I think it will be "challenging" to get cfrontend built and running on
Windows.


On Tue, 02 Nov 2004 17:33:42 +0100
"Henrik Bach" <henrik_bach_llvm at hotmail.com> wrote:

> Hi,
> 
> I'm able to build the llvm tools on the MinGW platform: burg, fpcmp, tblgen, 
> llvm-as, llvm-dis, opt, gccas, llc, llvm-link, lli, gccld, llvm-stub, 
> analyze and extract.
> 
> I wonder if these tools are sufficient to start build the cfrontend?
> 
> Henrik.
> 
> _________________________________________________________________
> Undg_ pop-ups med MSN Toolbar -  http://toolbar.msn.dk hent den gratis!
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list