|
From: Earnie B. <ea...@us...> - 2008-01-04 12:54:28
|
Quoting Jim Marshall <jim...@wb...>: > 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. > Or better, to port the program to use the appropriate windows functionality. See http://www.google.com/search?q=site%3Amicrosoft.com+scandir for example. Earnie |