[llvm-commits] Patch for compiling with Mingw/Cygwin

Alain Frisch alain at frisch.fr
Mon Jan 14 21:59:07 PST 2008


Chris Lattner wrote:
> Okay, this looks really good.  One final question before I commit: why 
> does tblgen want a windows path instead of a unix path?  Can that be 
> fixed in tblgen?  Doesn't this affect llvm-as and all other tools?

When we compile with Mingw/Cygwin, we want to produce plain Win32 
programs and libraries that don't depend on the cygwin DLL to resolve 
filenames, so it is normal that tools such as llvm-as don't accept unix 
paths. This is exactly the same as for the normal Mingw case. The 
difference with Mingw here is that the build system (make), being a 
Cygwin program, works with unix paths, so some translation is needed.

-- Alain



More information about the llvm-commits mailing list