[comp.sys.atari.st] Lattice C bug fix

U00177@HASARA5.BITNET (09/14/87)

Lattice bug fix:
I encountered the following bug-fix for Lattice-C in "ST-World",
C-Compilers Supertest by David Gristwood, 27-34, sept 1987.:

  "To use Debug+ as a link loader, the following
   change must be made to the source file
   _main.c. The line:

       envunpk(env);

   must be changed to:

       if(env)envunpk(env);

   The file must be recompiled, and any link files
   such as C.LNK and CGEM.LNK, must be altered to
   use the new _main.bin file by including the
   statement:

       INPUT _main.bin

   It is also necessary to add the argument
   '%200000' as part of the link line, which
   specifies that 200,000 bytes are to be
   allocated as working memory. "

To whom it may concern.