[comp.unix.microport] Problems with compiles on Sys V/AT; compress.c; large model

johnk@grebyn.COM (John Kennedy) (01/06/89)

Anyone had success with the 286 architecture and compiling the *compress.c*
program from the archives?  Here's the scenario:

    1) decompressed compress.c.Z on host system (3B2, not 286 or uport)
    2) downloaded compress.c from host system.
    3) compiled compress.c from Makefile
    4) added -DM_XENIX to Makefile to alleviate "too large array" errors
    5) got link time errors indicating compile should be done with large model
    6) added -Ml to Makefile to recompile with large model
    7) compiles completed without errors
    8) executed compress to decompress another program.c.Z, and much
       garbage was generated in output.


I find it hard to believe that *compress*, even with its many options, has
never been compiled in the Microport System V/AT environment.  I would rather
believe that I haven't found the right flags to define at compile time.

Any suggestions from anyone who has made it work?
Please email any ideas to johnk@grebyn.com 

Thanks,

John