Build MSYS dependent binaries
You will need the MSYS package of course and the msysDVLPR package. It may also be good to have the msysDTK package.
I tend to unarchive the msysDVLPR package in a /msys directory, I.E. mkdir /msys && cd /msys && tar -zxf msysDVLPR-xxxx.tar.gz. Note that msysDVLPR contains binaries for gcc and binutils that are specific to building MSYS dependent binaries. Now to start an environment that is native MSYS build environment you need to ``start /msys.bat MSYS" for example (How to start a mSys shell). This will open another shell window. If you type ``uname -s" the string should begin with MSYS_ followed by OS information; e.g. MSYS_NT-5.1.
In that window you will need to ``export PATH=/msys/bin:$PATH". You will then cd to your source and build as you normally would. If all is correct the resulting program should be dependent on MSYS. A ``grep -l msys-1.0.dll foo.exe" should return foo.exe if the binary is dependent on msys.
|MinGW Community Editable||This page is provided as a MinGW community service and is editable by the MinGW community. If you find problems in the above text or have additions that may be of further help; please edit the page.|