[LLVMdev] Files to lib/System/Win32

Brian Gaeke gaeke at uiuc.edu
Tue Sep 14 09:02:14 PDT 2004

I think the $HOME and /etc assumptions are very limited in nature. Most 
of us who use LLVM every day here at UIUC don't need to bother 
installing anything in $HOME or /etc, and so they shouldn't be 
considered a major stumbling block for building a version of LLVM that 
runs on Windows, no matter how it is done or what libraries it is 
linked with.

Making it possible to build LLVM on mingw is a fine idea, and it has 
the added benefit of allowing us to reduce the dependencies on 
Unix/Linux libraries gradually. It seems likely that we'll want a 
non-mingw build at some point, but I don't see how they need to be 
mutually exclusive.

Patches are, as always, welcome.

On Sep 14, 2004, at 9:25 AM, Jeff Cohen wrote:

> "Henrik Bach" <henrik_bach_llvm at hotmail.com> wrote:
>>> From: Jeff Cohen <jeffc at jolt-lang.org>
>>> But there are some issues with System I'm going to have to take care 
>>> of
>>> besides using Win32.  There appears to be some Unix assumptions like 
>>> the
>>> presence of /etc or the HOME environment variable.  Neither have any
>>> true equivalent in Windows.
>> Will be fixed in a working LLVM on mingw.
> And how does it do this?  By emulating Unix.
> I don't know why you insist mingw isn't emulating Unix.  How else would
> you describe software that allows Unix source to run on Windows with
> little or no change?
> Would you ever use mingw to create software that runs only on Windows
> and never on Unix?

More information about the llvm-dev mailing list