
COMPILING NOTES
===============

@@@  sentence or two about makefiles, gnu make

I personally compile the Win32 binaries on Linux using what's
called a "Cross Compiler".  The Ubuntu package is "mingw32".
That means I don't need to reboot out of Linux in order to
compile Win32 binaries.  Plus compiling stuff in Windows
always seems to be a major pain (for me at least).

Sorry but if you want to compile the Win32 binary under
Windows then you are on your own, especially if you aren't
using the GNU compiler tools.


@@@  LIST OF REQUIRED LIBS HERE


Lua-5.1.2:
  (1) edit src/Makefile to use 'g++' instead of 'gcc'.
      For Win32 cross-compile, prefix g++, ar and ranlib
      with 'i586-mingw32msvc-'.

  (2) use 'make linux' for Linux,
      use 'make generic' for Win32 cross-compile.


FLTK-1.1.9:
  (1) Linux: /configure --quiet --disable-shared --disable-gl \
             --disable-localjpeg --disable-localzlib --disable-localpng

  (2) Win32 cross-compile:
      (a) copy makefiles/Makefile.mingw --> ./Makefile
      (b) copy makefiles/makeinclude.mingw --> ./makeinclude
      (c) copy makefiles/config.mingw --> ./config.h

      (d) in makeinclude: add 'i586-mingw32msvc-' prefix to
          gcc, g++, ar and ranlib.
      (e) in makeinclude: use '-ruv' instead of 'cr' for ar command.
      (f) in makeinclude: remove $(IMAGELIBS) from LINKFLTKIMG line.
      (g) in makeinclude: comment out .SILENT directive.
      (h) in makeinclude: remove -fno-exceptions

      (i) in config.h: set HAVE_GL and HAVE_GL_GLU to 0.
          comment out HAVE_LIBPNG, HAVE_LIBJPEG, HAVE_LIBZ.
          comment out HAVE_LONG_LONG.

      (j) in Makefile: remove the 'makeinclude' and 'configure' targets.
      (k) in Makefile: remove $(IMAGEDIRS) and 'fluid' from DIRS variable.

