Posix support in mingw..

Alexey Pushkin alexey.pushkin at mererand.com
Sat Mar 7 15:40:22 UTC 2009


roy basavaraju wrote:
> Hi,
> 
> Thanks for your valuable suggestions..
> 
>     i am working an application, which needs to read user_id(uid), 
> group_id(gid). for this i need posix headers grp.h & pwd.h.
> So my issue is if i replace these header files with any of the gnu 
> libraries which supports in mingw, will my application able to read 
> these file atributes correctly when it si running on a linux target..
> 
> if i summerise, i have to dvelop an filesystem related  application in 
> mingw, with this executable i have to generate filesystem image in 
> windows.. this filesystem image i will flash in a linux based target.. 
> it should work perfectly as the filesystem generated in linux environment..


I think you should use Win32 APIs directly

http://msdn.microsoft.com/en-us/library/aa163326.aspx
http://msdn.microsoft.com/en-us/library/aa364407(VS.85).aspx

> Thanks for u r help..
> Ram
> 
> On Fri, Mar 6, 2009 at 7:51 AM, Kevin Kofler <kevin.kofler at chello.at 
> <mailto:kevin.kofler at chello.at>> wrote:
> 
>     Richard W.M. Jones wrote:
>      > Some portabilities libraries you can consider:
>      >
>      >  - gnulib
>      >  - glib
>      >  - NSPR
>      >  - APR
>      >  - Qt
>      >  - POCO & Boost (for C++)
> 
>     There's also the kdewin32 library which implements some POSIX
>     functions used
>     by KDE (but the functions aren't always fully compliant, the main goal
>     there is to get KDE to build).
> 
>            Kevin Kofler
> 
>     _______________________________________________
>     fedora-mingw mailing list
>     fedora-mingw at lists.fedoraproject.org
>     <mailto:fedora-mingw at lists.fedoraproject.org>
>     https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> fedora-mingw mailing list
> fedora-mingw at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw




More information about the mingw mailing list