Compiling Mosis

This document assumes that you have successfully compiled the Psys libraries. This document also assumes that you have uncompressed and untarred the Mosis file, and installed it in the chipmunk directory. Note that Mosis has not been ported to OS/2.

Begin by descending to the mosis directory. No Makefile customization is necessary. However, customization of the file mosis.c is necessary, since details in the desired mailing file (account #, name, address, etc) are very site dependent.

To do this customization, edit the file mosis.c, and search for all instances of the word CUSTOM. This word will be in comments next to printf statements that print site-specific parts of the MOSIS header file. If you have sent a chip out to MOSIS manually you will recognize these lines; if not, you should ask a more experienced person for assistance.

After this customization has been done, execute the command

make install

If things are working correctly, a short series of compilations, linkings, and file movements should occur without error. The program chipmunk/bin/mosis will be created, ready for use to send mail messages to MOSIS. To learn about using this program, see the user documentation.

If you have problems compiling or using this program, I'd be happy to offer suggestions; press here for more information about asking for help.

Email
lazzaro@cs.berkeley.edu
SMail
UC Berkeley / CS Division / 387 Soda Hall / Berkeley CA 94720