Red Hat ENTERPRISE LINUX 4 - USING BINUTILS Using Instructions page 57

Using binutils, the gnu binary utilities
Hide thumbs Also See for ENTERPRISE LINUX 4 - USING BINUTILS:
Table of Contents

Advertisement

Chapter 14. Create files needed to build and use DLLs
-no-export-all-symbols
Only export symbols explicitly listed in an input .def file or in
object files. This is the default behaviour. The
attributes in the source code.
-exclude-symbols
Do not export the symbols in
characters. The symbol names should not contain a leading underscore. This is only meaningful
when
-export-all-symbols
-no-default-excludes
When
-export-all-symbols
symbols. The current list of symbols to avoid exporting is
. You may use the
impure_ptr
special symbols. This is only meaningful when
-S
path
-as
path
Specifies the path, including the filename, of the assembler to be used to create the exports file.
-f
options
-as-flags
options
Specifies any specific command line options to be passed to the assembler when building the
exports file. This option will work even if the
one argument, and if it occurs more than once on the command line, then later occurrences will
override earlier occurrences. So if it is necessary to pass multiple options to the assembler they
should be enclosed in double quotes.
-D
name
-dll-name
name
Specifies the name to be stored in the .def file as the name of the DLL when the
used. If this option is not present, then the filename given to the
name of the DLL.
-m
machine
-machine
machine
Specifies the type of machine for which the library file should be built.
default type, depending upon how it was created, but this option can be used to override that.
This is normally only useful when creating DLLs for an ARM processor, when the contents of
the DLL are actually encode using Thumb instructions.
-a
-add-indirect
Specifies that when
the exported functions to be referenced without using the import library. Whatever the hell that
means!
-U
-add-underscore
Specifies that when
names of the exported functions. The option is ignored for symbols with an explicit internal name
specification provided in a .def file.
list
. This is a list of symbol names separated by comma or colon
list
is used.
is used, it will by default avoid exporting certain special
-no-default-excludes
is creating the exports file it should add a section which allows
dlltool
is creating the exports file it should prepend an underscore to the
dlltool
.drectve
sections are created by
.drectve
DllMain@12
option to go ahead and export these
-export-all-symbols
option is not used. This option only takes
-S
-e
sections in the input
dllexport
,
DllEntryPoint@0
is used.
option is
-e
option will be used as the
has a built in
dlltool
51
,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 4

Table of Contents