Running GT.M

GT.M has three modes: compiler, direct, and auto-start. Invoke these modes by using the mumps command issued with an appropriate argument.

When executing M programs, any called programs are incrementally linked. For example, the command

GTM> d ^TEST

links the object file TEST.o and executes it; if the TEST program calls other M routines, those are automatically compiled and linked.

64-bit editions of GT.M generate objects compatible with native object format that can be loaded in to shared libraries. See the management of routines in shared libraries section. All editions of GT.M compile routines for which they find the source, but no object and dynamically link objects whether stored as files in a directory or objects in a shared library.