> But, they are part of Cygwin gcc in Mingw mode (i.e., gcc -mno-cygwin). > You're right. My gcc installation was corrupted. Now I can compile it. What about getopt, I can find the symbol in a library, but not the related header. ? I have installed mingw-runtime 2.2.1. Ralf