|
From: Jim M. <jim...@wb...> - 2008-01-04 05:40:40
|
David Bruce wrote: > Hi, > > It appears that the default mingw environment does not provide scandir. What > is the preferred way to work around this? My program currently has its own > replacement that gets called in the Windows cross-build by means of > some "ifdef WIN32" statements. From some googling, it seems that GNU's > Gnulib is intended to address this category of issues, but it does not seem > to include scandir. > > Thanks for any suggestions, mingw is basically just a way to compile WIN32 apps without using MS tools, it does not provide functions which are specific to *nix systems. If you wish to compile a program that uses *nix function you should use Cygwin which does provide that capability. hth |