Using the mapfile option
To use the mapfile option, you must:
-
Enter mapfile directives into a file
(this is your ``mapfile'').
-
Enter the following option on the
ld command line:
-M mapfile
mapfile is the file name of the file you produced in step 1.
If the mapfile is not in your current directory, you must include the
full path name;
no default search path exists.
(See the
ld(CP)
manual page for information on operation of the
ld command.)
CAUTION:
The mapfile option can only by used in static mode.
The -dn option must accompany the -M option on the
ld command line or ld returns a fatal error.
Next topic:
Mapfile structure and syntax
Previous topic:
Mapfile option
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003