DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Linking with the mapfile option

Using the mapfile option

To use the mapfile option, you must:

  1. enter mapfile directives into a file (this is your ``mapfile'')

  2. 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 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: Linking with the mapfile option

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005