[llvm-commits] Patch for compiling with Mingw/Cygwin
Chris Lattner
clattner at apple.com
Tue Jan 15 14:50:57 PST 2008
On Jan 14, 2008, at 9:59 PM, Alain Frisch wrote:
> 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.
Ok, makes sense, thanks!
-Chris
More information about the llvm-commits
mailing list