mkexec
Introduction
mkexec is a program to convert a file which has been output by the
linker into an executable file which is suitable for DLL linking.
Apart from that, the program also allows you to set the program name, and
the amount of stack space which should be available.
An application which is treated by mkexec when building, can be
loaded as a resident extension, in which case it will be linked in as an
executable thing.
To make sure that mkexec can do its job properly, the program has
to be built by the linker with the -sexec option !
Usage
mkexec filename program-name [dataspace]
- filename
-
The name of the file which has to be treated. The file will be searched on
the data default device (cfr DEVDataGet).
- program-name
-
The program name which is assigned to each running job. The program name
is limited to 64 characters (JOB_MAXNAME cfr. job_h). It is also
possible to limit the actual name assigned to each running job to be
somewhat shorter and use the remaining space for comments. This can be
done by including the 'ž' (yen) character in the string. This character
will be translated to a space.
- dataspace
-
Optionally, you can also specify the amount of stack space which should be
available. By default 4kB of stack space will be assigned. You can increase
or decrease that value by giving a delta amount (in bytes). mkexec
will not allow you to make the stack space smaller than 2kB.
PROGS, Professional & Graphical Software
last edited January 7, 1996