Posix support in mingw..

Daniel P. Berrange berrange at redhat.com
Fri Mar 6 10:11:26 UTC 2009


On Fri, Mar 06, 2009 at 06:38:07PM +0900, roy basavaraju wrote:
> Hi,
> 
>   I am developing a linux based tool on mingw environment.  this tool
> requires posix apis, which mingw doesnt support. i can not use cygwin due to
> some limitations.
> 
>   Can anyone please suggest me, how to overcome this problem with mingw
> itself.  my application executable must run on any windows PC without
> Cygwin/mingw installation requirement..

If you are not already using a portability layer like GLib / QT / NSPR,
then you should probably consider looking at GNULIB. This provides a
set of modules you drop into your source tree which implement / fix
POSIX APIs on OS where they are incomplete / broken. So it can wrap
alot of Windows APIs to provide the true POSIX API.


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|



More information about the mingw mailing list