Lines Matching full:dll
934 `.exe' or `.dll' suffix, this option forces the linker to copy the
1313 `--dll-verbose'
1546 output to be a dynamically linked library (DLL) instead of a normal
1547 executable. You should name the output `*.dll' when you use this
1568 `--dll'
1569 Create a DLL instead of a regular executable. You may also use
1592 If given, all global symbols in the objects used to build a DLL
1593 will be exported by the DLL. Note that this is the default if
1601 DLL's internal layout such as those beginning with `_head_' or
1635 Use VALUE as the base address of your program or dll. This is the
1636 lowest memory location that will be used when your program or dll
1687 corresponding to the DLL the linker is generating. This DEF file
1695 lib corresponding to the DLL the linker is generating. This import
1696 lib (which should be called `*.dll.a' or `*.a' may be used to link
1697 clients against the generated DLL; this behaviour makes it
1706 DLL, in-memory collisions and relocations which can delay program
1716 `--dll-search-prefix STRING'
1717 When linking dynamically to a dll without an import library,
1718 search for `<string><basename>.dll' in preference to
1719 `lib<basename>.dll'. This behaviour allows easy distinction
1722 `--dll-search-prefix=cyg'. [This option is specific to the i386
1748 to member fields of struct variables imported from a DLL, as well
1750 DLL. Any multiword variable (arrays, structs, long long, etc) may
1796 compile-time #defines to indicate whether you are building a DLL,
1797 building client code that will link to the DLL, or merely
1852 section, that is, DATA imports from DLL with non-zero offset, this
5072 libraries, which contains information for linking to dll's. They
5078 _exporting DLL symbols_
5079 The cygwin/mingw `ld' has several ways to export symbols for dll's.
5104 should be exported when a dll is created. Usually it is
5105 named `<dll name>.def' and is added as any other object file
5109 gcc -o <output> <objectfiles> <dll name>.def
5115 `xyz.dll':
5117 LIBRARY "xyz.dll" BASE=0x20000000
5123 another_foo = abc.dll.afoo
5126 This example defines a DLL with a non-default base address
5130 and treating it as an alias for `afoo' exported from the DLL
5131 `abc.dll'. The final symbol `var1' is declared to be a data
5135 name of the output DLL. If `<name>' does not include a suffix,
5136 the default library suffix, `.DLL' is appended.
5158 Declares `<name1>' as an exported symbol from the DLL, or
5161 `<external-name>' in the DLL `<module-name>'. Optionally,
5167 `NONAME': Do not put the symbol name in the DLL's export
5187 `PRIVATE': Put the symbol in the DLL's export table, but do
5191 using the GNU ld extension of linking directly to the DLL
5197 While linking a shared dll, `ld' is able to create a DEF file
5202 source code itself, so that when building the DLL each symbol
5208 All such symbols will be exported from the DLL. If, however,
5209 any of the object files in the DLL contain symbols decorated
5231 The standard Windows dll format supports data imports from dlls
5280 including data symbols, to a dll without the usage of any import
5284 import lib, each function or variable exported from the dll is
5291 Linking directly to a dll uses no extra command-line switches
5295 order to force ld to select the dll instead of an import library.
5300 libxxx.dll.a
5301 xxx.dll.a
5304 cygxxx.dll (*)
5305 libxxx.dll
5306 xxx.dll
5310 (*) Actually, this is not `cygxxx.dll' but in fact is
5311 `<prefix>xxx.dll', where `<prefix>' is set by the `ld' option
5312 `--dll-search-prefix=<prefix>'. In the case of cygwin, the
5313 standard gcc spec file includes `--dll-search-prefix=cyg', so in
5314 effect we actually search for `cygxxx.dll'.
5319 conflicts among dll's built for the various win32/un*x
5320 environments, so that (for example) two versions of a zlib dll
5324 applications and dll's and a `lib' directory for the import
5328 cygxxx.dll
5330 libxxx.dll.a (in case of dll's)
5333 Linking directly to a dll without using the import library can be
5336 1. Use the dll directly by adding the `bin' path to the link line
5339 However, as the dll's often have version numbers appended to their
5340 names (`cygncurses-5.dll') this will often fail, unless one
5344 2. Create a symbolic link from the dll to a file in the `lib'
5347 making the app/dll.
5349 ln -s bin/cygxxx.dll lib/[cyg|lib|]xxx.dll[.a]
5359 cygxxx-5.dll
5361 libxxx.dll.a -> ../bin/cygxxx-5.dll
5363 Linking directly to a dll without using an import lib will work
5371 1. Until recently, the link-directly-to-dll functionality did _not_
5376 indirection symbols that point to the exports of a dll). Again,
5381 is critical when linking against OS-supplied dll's (eg, the win32
5387 dll, in many cases, is a useful addition to the suite of tools
5399 DEF file when creating the dll. This will affect also the
5403 LIBRARY "xyz.dll" BASE=0x61000000
5427 LIBRARY "xyz.dll" BASE=0x61000000
6446 * --dll: Options. (line 1480)
6447 * --dll-search-prefix: Options. (line 1628)
6771 * direct linking to a dll: WIN32. (line 218)
6793 * exporting DLL symbols: WIN32. (line 19)