Exporting symbols with the CreateExportList utility

CreateExportList is a shell script that creates a file containing a list of exportable symbols found in a given set of object files. Note that this command is run automatically when you use the -qmkshrobj option, unless you specify an alternative export file with the -qexpfile command.

The syntax of the CreateExportList command is as follows:

Read syntax diagramSkip visual syntax diagram
>>-CreateExportList--+-----+--exp_list--+- -f--file_list-+--+-----+--+-------------+-><
                     '- -r-'            '-obj_files------'  '- -w-'  |      .-32-. |   
                                                                     '- -X--+-64-+-'   

You can specify one or more of the following options:

-r
If specified, template prefixes are pruned. The resource file symbol (__rsrc) is not added to the resource list.
exp_list
The name of a file that will contain a list of global symbols found in the object files. This file is overwritten each time the CreateExportList command is run.
-ffile_list
The name of a file that contains a list of object file names.
obj_files
One or more names of object files.
-w
Excludes weak symbols from the export list.
-X32
Generates names from 32-bit object files in the input list specified by -f file_list or obj_files. This is the default.
-X64
Generates names from 64-bit object files in the input list specified by -f file_list or obj_files.
The CreateExportList command creates an empty list if any of the following is true: