[LLVMdev] Files to lib/System/Win32

Henrik Bach henrik_bach_llvm at hotmail.com
Tue Sep 14 09:48:55 PDT 2004


>From: "Henrik Bach" <henrik_bach_llvm at hotmail.com>
>Date: Tue, 14 Sep 2004 18:10:29 +0200
>
>>From: Jeff Cohen <jeffc at jolt-lang.org>
>>Date: Tue, 14 Sep 2004 07:25:11 -0700
>>
>>On Tue, 14 Sep 2004 12:46:31 +0200
>>"Henrik Bach" <henrik_bach_llvm at hotmail.com> wrote:
>>
>> > >From: Jeff Cohen <jeffc at jolt-lang.org>
>> > >Date: Mon, 13 Sep 2004 21:24:47 -0700
>> > >
>> > >
>> > >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.
>> >
>> > Henrik
>>
>>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?
>
>As far I know, mingw isn't supposed to emulate unix. It's a free gcc 
>implementation for Windows with its own header files to support the win32 
>API and POSIX.1.
>
>MSYS on the other hand emulates the BASH shell and script functionality.
>
>Yes, If I want to write free software with a free c++ compiler to Windows, 
>I would certainly choose mingw.

Here some examples to use gcc:
http://www12.canvas.ne.jp/peters/colin/win32/hello.html

Henrik

_________________________________________________________________
Undgå pop-ups med MSN Toolbar -  http://toolbar.msn.dk/ hent den gratis!




More information about the llvm-dev mailing list