I have a simple C++ application that uses the STL library. It compiles without problem under cygwin but I get the following errors when I try to use the -mno-cygwin option I'm using the latest version of Cygwin available. Any help would be appreciated. thanks ====================================================================================== $ make -f dcf2xml.make > log Reading specs from /usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/specs Configured with: /netrel/src/gcc-3.3.1-2/configure --enable-languages=c,c++,f77 java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --w thout-included-gettext --enable-interpreter --enable-sjlj-exceptions --disable- ersion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686- c-cygwin --target=i686-pc-cygwin --prefix=/usr --exec-prefix=/usr --sysconfdir= etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin Thread model: posix gcc version 3.3.1 (cygming special) /usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/cc1plus.exe -quiet -v -I/usr/include -D _GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=1 -D__MSVCRT__ -D__MINGW32__ -DWIN32 -D_WIN32 -D__WIN32 -D__WIN32__ -DWINNT -idirafter /usr/lib/gcc-lib/i686 pc-mingw32/3.3.1/../../../../include/w32api -idirafter /usr/lib/gcc-lib/i686-pc mingw32/3.3.1/../../../../i686-pc-mingw32/lib/../../include/w32api TCSProSectio .cpp -D__GNUG__=3 -quiet -dumpbase TCSProSection.cpp -mno-cygwin -mwindows -aux ase TCSProSection -g -Wall -version -o /cygdrive/c/DOCUME~1/wb177999/LOCALS~1/T mp/ccltHeRF.s GNU C++ version 3.3.1 (cygming special) (i686-pc-cygwin) compiled by GNU C version 3.3.1 (cygming special). GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=65459 ignoring nonexistent directory "/usr/local/include/mingw" ignoring duplicate directory "/usr/include/mingw" ignoring duplicate directory "/usr/i686-pc-mingw32/lib/../../include/w32api" #include "..." search starts here: #include <...> search starts here: /usr/include /usr/include/c++/3.3.1 /usr/include/c++/3.3.1/i686-pc-mingw32 /usr/include/c++/3.3.1/backward /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include /usr/i686-pc-mingw32/include /usr/include/w32api End of search list. In file included from /usr/include/c++/3.3.1/bits/stl_algobase.h:67, from /usr/include/c++/3.3.1/memory:54, from /usr/include/c++/3.3.1/string:48, from TCSProSection.hpp:9, from TCSProSection.cpp:12: /usr/include/c++/3.3.1/cstdlib:139: error: `lldiv_t' not declared /usr/include/c++/3.3.1/cstdlib:156: error: syntax error before `(' token /usr/include/c++/3.3.1/cstdlib:157: error: syntax error before `.' token /usr/include/c++/3.3.1/cstdlib:157: error: syntax error before `.' token /usr/include/c++/3.3.1/cstdlib:160: error: syntax error before `(' token /usr/include/c++/3.3.1/cstdlib:161: error: syntax error before `.' token /usr/include/c++/3.3.1/cstdlib:161: error: syntax error before `.' token /usr/include/c++/3.3.1/cstdlib:172: error: `atoll' not declared /usr/include/c++/3.3.1/cstdlib:177: error: `strtold' not declared /usr/include/c++/3.3.1/cstdlib:178: error: parse error before `}' token /usr/include/c++/3.3.1/cstdlib:183: error: `lldiv_t' not declared /usr/include/c++/3.3.1/cstdlib:189: error: `div' not declared /usr/include/c++/3.3.1/cstdlib:190: error: `lldiv' not declared /usr/include/c++/3.3.1/cstdlib:192: error: `atoll' not declared /usr/include/c++/3.3.1/cstdlib:193: error: `strtof' not declared /usr/include/c++/3.3.1/cstdlib:194: error: `strtoll' not declared /usr/include/c++/3.3.1/cstdlib:195: error: `strtoull' not declared /usr/include/c++/3.3.1/cstdlib:196: error: `strtold' not declared In file included from /usr/include/c++/3.3.1/bits/locale_facets.h:166, from /usr/include/c++/3.3.1/bits/basic_ios.h:44, from /usr/include/c++/3.3.1/ios:51, from /usr/include/c++/3.3.1/ostream:45, from /usr/include/c++/3.3.1/iostream:45, from TCSProSection.hpp:10, from TCSProSection.cpp:12: /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:44: error: `_UPPER' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:45: error: `_LOWER' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:46: error: `_ALPHA' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:47: error: `_DIGIT' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:48: error: `_HEX' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:49: error: `_SPACE' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_BLANK' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_PUNCT' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_ALPHA' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_DIGIT' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:51: error: `_PUNCT' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:51: error: `_ALPHA' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:51: error: `_DIGIT' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:52: error: `_CONTROL' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:53: error: `_PUNCT' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:54: error: `_ALPHA' was not declared in this scope /usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:54: error: `_DIGIT' was not declared in this scope In file included from /usr/include/c++/3.3.1/bits/locale_facets.tcc:41, from /usr/include/c++/3.3.1/locale:47, from /usr/include/c++/3.3.1/bits/ostream.tcc:37, from /usr/include/c++/3.3.1/ostream:535, from /usr/include/c++/3.3.1/iostream:45, from TCSProSection.hpp:10, from TCSProSection.cpp:12: /usr/include/c++/3.3.1/cmath: In function `long double std::acos(long double)': /usr/include/c++/3.3.1/cmath:194: error: `::acosl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::asin(long double)': /usr/include/c++/3.3.1/cmath:212: error: `::asinl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::atan(long double)': /usr/include/c++/3.3.1/cmath:230: error: `::atanl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::atan2(long double, long double)': /usr/include/c++/3.3.1/cmath:249: error: `::atan2l' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::ceil(long double)': /usr/include/c++/3.3.1/cmath:268: error: `::ceill' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::cosh(long double)': /usr/include/c++/3.3.1/cmath:296: error: `::coshl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::exp(long double)': /usr/include/c++/3.3.1/cmath:314: error: `::expl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::floor(long double) ': /usr/include/c++/3.3.1/cmath:342: error: `::floorl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::fmod(long double, long double)': /usr/include/c++/3.3.1/cmath:361: error: `::fmodl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::frexp(long double, int*)': /usr/include/c++/3.3.1/cmath:380: error: `::frexpl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::ldexp(long double, int)': /usr/include/c++/3.3.1/cmath:400: error: `::ldexpl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::log(long double)': /usr/include/c++/3.3.1/cmath:419: error: `::logl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::log10(long double) ': /usr/include/c++/3.3.1/cmath:437: error: `::log10l' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::modf(long double, long double*)': /usr/include/c++/3.3.1/cmath:461: error: `::modfl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::pow(long double, long double)': /usr/include/c++/3.3.1/cmath:495: error: `::powl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::sinh(long double)': /usr/include/c++/3.3.1/cmath:536: error: `::sinhl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::tan(long double)': /usr/include/c++/3.3.1/cmath:564: error: `::tanl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `long double std::tanh(long double)': /usr/include/c++/3.3.1/cmath:582: error: `::tanhl' undeclared (first use here) make: *** [TCSProSection.o] Error 1