여기에서 Cygwin을 인스톨한다.
Devel - gcc-g++
Devel - libncurses-devel
Devel - flex
Devel - bison
Devel - ctags
Devel - make
Devel - autoconf
Devel - automake
Devel - libtool
Editors - vim
사용은
$ ./configure --prefix=/usr/local
$ make
$ make install
$ export CC='gcc -mno-cygwin'
$ export CXX='gcc -mno-cygwin'
$ ./configure --host=mingw32 --build=mingw32 --target=mingw32
/*
or
$
CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin' ./configure
--host=i386-pc-mingw32 --build=i386-pc-mingw32 --target=i386-pc-mingw32
*/
$ objdump -p 컴파일된실행화일명 | grep "DLL Name"
DLL Name: msvcrt.dll
or
DLL Name: cygwin1.dll
참조 사이트: