POSIX emulation layer questions

Matthew Seitz mseitz@yahoo.com
Tue May 20 06:05:00 GMT 2003


"Neil Zanella" <nzanella@cs.mun.ca> wrote in message
news:Pine.LNX.4.44.0305190534120.22589-100000@garfield.cs.mun.ca...
> I have heared that Windows is POSIX compliant due to US DoD regulations.

When Windows NT was released, it included a Win32 mode, a POSIX mode, and an
OS/2 mode.  For details of this feature, see:
http://msdn.microsoft.com/archive/en-us/dnarwbgen/html/msdn_posix.asp

Over time, Microsoft has essentially dropped support for the POSIX mode and
instead recommends porting POSIX applications to Win32.  See:
http://msdn.microsoft.com/vstudio/using/migrate/default.aspx?pull=/library/en-us/vccore/html/_core_port_from_unix_to_win32.asp

> I would like to execute the POSIX calls under windows. Do I need to link
> with the cygwin dll or is support for such calls already there.

Windows includes libraries, such as MSVCRT.DLL, that support some POSIX
calls in Win32 mode programs.  If you want to use a POSIX call that is not
included with Windows, then you will need an additional library, such as
Cygwin.dll.

> Can I use the borland free compiler?

The Borland free compiler includes support for some POSIX calls, but not as
many as the Cygwin.dll library.  It may be possible to use Cygwin.dll with
the Borland compiler, but it wouldn't be easy.  If you want to use the
Cygwin.dll library, it is easiest to use it with the free Cygwin GCC
compiler.

>I ask because I am using Qt.

Unfortunately, I know next to nothing about porting Qt applications to
Windows.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list