----- Original Message ----- 
From: "Tor Lillqvist"
To: "tuitfun"
Sent: Wednesday, July 04, 2007 5:01 PM
Subject: [GnuWin32-Users] scandir doesn't work??

> effort is very nice. But I think one should avoid using "libgw32c" if
> at all possible.
>
I agree. It is also difficult to maintain and often obscures the porting 
process.

For the last releases, from 2007, the ports have been done such that the 
Gnuwin32 package is always self-contained.
This is done by adding any additional functions and headers to the original 
sources. I have tried to avoid clashes with system headers (those provided 
by Mingw) as much as possible. This is not always feasible, and then a 
replacement has been provided with an #include_next of the system header. 
For packages with only executables this is a simple enough solution, I 
think. For packages with libraries, this might give problems when one 
develops with more than one library, e.g. libpng with zlib, but at present 
it seems that this might occur only when replacing the small-file functions, 
such as stat, by their large-file functions, such as stati64. An example are 
the recent releases of Libarchive 
http://gnuwin32.sourceforge.net/packages/libarchive.htm .

A different solution could be to add any specific Win32 functions or 
adaptations to Gnulib http://www.gnu.org/software/gnulib/ . A problem may be 
that not all free packages use Gnulib. But anyway, I haven't had enough time 
to look at the intricacies of this; it seems fairly complicated, I must say, 
especially adding autoconf macros.

Kees Zeelenberg


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to