home *** CD-ROM | disk | FTP | other *** search
- rem create Lattice C libraries
-
- rem to assemble xspawn.asm define LCODE and LDATA as shown below
- rem S memory model
- rem P memory model -dLCODE
- rem D memory model -dLDATA
- rem L memory model -dLCODE -dLDATA
-
- lasm -a -dLCODE -dLDATA xspawn.asm
-
- rem change the two occurrences of -ml to the appropriate memory model
-
- lc -a -cf -g -gh -gv2 -k0 -!L -ml -Oals xspawnl.c xspawnle.c xspawnlp.c xspwnlpe.c xspawnv.c xspawnve.c xspawnvp.c
- lc -a -cf -g -gh -gv2 -k0 -!L -ml -Oals xspwnvpe.c xsystem.c
-
- rem change the library name to reflect the memory model
-
- llib xspawnll c xspawnl xspawnle xspawnlp xspwnlpe xspawnv xspawnve xspawnvp xspwnvpe xsystem xspawn