myLCD

MinGW

MinGW GCC is a collection of freely available and freely distributable Windows specific header files and import libraries, augmenting the GNU Compiler Collection, (GCC), and its associated tools, (GNU binutils). MinGW provides a complete Open Source programming tool set which is suitable for the development of native Windows programs that do not depend on any 3rd-party C runtime DLLs.

As MinGW/GCC is the compiler used in development of libmylcd, I felt it it might tbe helpful to provide a quick guide for compiling libmylcd with MinGW/GCC.


MinGW GCC:
Grab the latest TDM MinGW/GCC bundled installer, which as of 04/06/09 is version GCC 4.4.0
Install on to the root of your drive. Eg; 'C:/mingw/'
Grab the libmylcd contribs then merge in to the above MinGW directory.
Open a console window then browse to the above directory. Execute mingwvars.bat. This will set the environment varibles for this console session.
Browse to the libmylcd source directory then type "make -f makefile.gcc dll PNG=1 DEBUG=0". Refer to libmylcd/compiling.txt for other options.


With MSYS+MinGW GCC 4:
Set compile options in include/mylcdconfig.h then enter in the bash console:
    ./bootstrap
    ./configure
    make
    make install (copies src/.libs/mylcd.dll to examples/)


Alternatively a Code::Blocks project file located in libmylcd/extras/ may be used.