Compiling Smac
Next: Miscellaneous
Up: Smac
Previous: Others
When you compile Smac definition code, you can define or not the
following cpp names:
- __STDC__ to have complete function profiles
- XCORAL to compile Smac for Xcoral, otherwise
you must not compile and link smacXcoral.c, but just add
main.c.
- RUNTIMECHECK to protect execution against
core dump and other sweets. If you define it (recommended for
Xcoral) all your memory accesses and modifications are checked and an error
occurs for each illegal addressing.
ATTENTION The word.h file must not be present when you compile
Smac. Then it can be produced by the word.c program to obtain
objects sizes and alignments.
To compile Smac for using it under Xcoral use Imakefile
and Makefile. They define XCORAL and RUNTIMECHECK.
To compile Smac alone, type make f MakeAlone
Lionel Fournigault
Mon Mar 6 13:33:34 MET 1995