LCC-WIN32 Compiler
==================

LCC-WIN32 is a freeware C compiler developed and distributed
by Jacob Navia at http://www.cs.virginia.edu/~lcc-win32

To use our DLLs with LCC-WIN32, you must link your applications
with SEE32LCC.LIB or SEE32LCC.OBJ.

If needed, SEE32LCC.LIB can re-created from the LCC function
export file SEE32.LCC using the BUILDLIB utility. That is,

    buildlib fce32.lcc fce32lcc.lib

The SEE32.LCC file can itself be re-created using the pedump
executable distributed with LCC-WIN32. For example,

    pedump /EXP fce32.dll > fce32.lcc

The resulting .LCC file must then be edited so that the
function entries look like:

    __imp__functionname functionname

For example, the first few entries of FCE32.LCC look like:

    SEE32.DLL
    __imp__fceAttach fceAttach
    __imp__fceClose fceClose
    __imp__fceDebug fceDebug
    . . .

Then, compile and link as normal. For example, to compile
and link the (console mode) FCEVER.C example program:

   lcc -DWIN32 fcever.c
   lcclnk fcever.obj fce32lcc.lib -subsystem:console

or (to use fce32lcc.obj)

   lcc -DWIN32 -DSTATIC_LIBRARY fcever.c
   lcclnk fcever.obj fce32lcc.obj wsock32.lib -subsystem:console

The windows GUI mode program WINFTP.C is compiled similarly:

    lcc -DWIN32 connect.c
    lcc -DWIN32 info.c
    lcc -DWIN32 files.c
    lrc winftp.rc
    lcclnk winftp.obj connect.obj info.obj files.obj fce32lcc.lib from.res -subsystem:windows

All LCC compile & link command files end with "$lcc.bat" or $lcc(s).bat"

[END]
