[LLVMdev] Files to lib/System/Win32

Jeff Cohen jeffc at jolt-lang.org
Wed Sep 15 09:35:51 PDT 2004


On Wed, 15 Sep 2004 18:13:47 +0200
"Henrik Bach" <henrik_bach_llvm at hotmail.com> wrote:

> >From: Jeff Cohen <jeffc at jolt-lang.org>
> >Date: Tue, 14 Sep 2004 19:43:34 -0700
> 
> >
> >OK, I stand corrected:  mingw can be used to create honest-to-goodness
> >Windows applications using Win32.  But you're still using it as a Unix
> >emulator :)
> >
> 
> OK, if POSIX.1 is unix emulation then we have that all *nix emulates all 
> *nix and that's fine with me :)

POSIX was an early attempt to standardize the UNIX API, so yes
supporting POSIX on a non-*nix platform is emulating *nix.  For a *nix
to support POSIX means it's supposed to be easy to port POSIX-compliant
applications between different POSIX-compliant *nix.  If I remember
correctly, the U.S. federal bureaucracy was the driving force behind it
back in the 80s.  They wouldn't buy a *nix or *nix software that wasn't
POSIX compliant.  All great in theory, but in reality...

> OK, I admit, my port to win32 wasn't a true win32 port. However, taken into 
> account that mingw supports both POSIX.1 and win32 and most of (if not all) 
> *nix supports POSIX.1, I took for granted, that this was a feasible way to 
> get something running on windows without cygwin.
> 
> I'm also happy, that you supplied true win32 implementations :) I'm excited 
> too see if these will compile on mingw.

I did successfully compile all those files with VC++ 7.1.  Does mingw
come with it's own version of windows.h or are you using the official
Microsoft header files?

> Henrik




More information about the llvm-dev mailing list