Lines Matching full:dll
933 `.exe' or `.dll' suffix, this option forces the linker to copy the
1312 `--dll-verbose'
1545 output to be a dynamically linked library (DLL) instead of a normal
1546 executable. You should name the output `*.dll' when you use this
1567 `--dll'
1568 Create a DLL instead of a regular executable. You may also use
1591 If given, all global symbols in the objects used to build a DLL
1592 will be exported by the DLL. Note that this is the default if
1600 DLL's internal layout such as those beginning with `_head_' or
1634 Use VALUE as the base address of your program or dll. This is the
1635 lowest memory location that will be used when your program or dll
1686 corresponding to the DLL the linker is generating. This DEF file
1694 lib corresponding to the DLL the linker is generating. This import
1695 lib (which should be called `*.dll.a' or `*.a' may be used to link
1696 clients against the generated DLL; this behaviour makes it
1705 DLL, in-memory collisions and relocations which can delay program
1715 `--dll-search-prefix STRING'
1716 When linking dynamically to a dll without an import library,
1717 search for `<string><basename>.dll' in preference to
1718 `lib<basename>.dll'. This behaviour allows easy distinction
1721 `--dll-search-prefix=cyg'. [This option is specific to the i386
1747 to member fields of struct variables imported from a DLL, as well
1749 DLL. Any multiword variable (arrays, structs, long long, etc) may
1795 compile-time #defines to indicate whether you are building a DLL,
1796 building client code that will link to the DLL, or merely
1851 section, that is, DATA imports from DLL with non-zero offset, this
5062 libraries, which contains information for linking to dll's. They
5068 _exporting DLL symbols_
5069 The cygwin/mingw `ld' has several ways to export symbols for dll's.
5094 should be exported when a dll is created. Usually it is
5095 named `<dll name>.def' and is added as any other object file
5099 gcc -o <output> <objectfiles> <dll name>.def
5105 `xyz.dll':
5107 LIBRARY "xyz.dll" BASE=0x20000000
5113 another_foo = abc.dll.afoo
5116 This example defines a DLL with a non-default base address
5120 and treating it as an alias for `afoo' exported from the DLL
5121 `abc.dll'. The final symbol `var1' is declared to be a data
5125 name of the output DLL. If `<name>' does not include a suffix,
5126 the default library suffix, `.DLL' is appended.
5148 Declares `<name1>' as an exported symbol from the DLL, or
5151 `<external-name>' in the DLL `<module-name>'. Optionally,
5157 `NONAME': Do not put the symbol name in the DLL's export
5177 `PRIVATE': Put the symbol in the DLL's export table, but do
5181 using the GNU ld extension of linking directly to the DLL
5187 While linking a shared dll, `ld' is able to create a DEF file
5192 source code itself, so that when building the DLL each symbol
5198 All such symbols will be exported from the DLL. If, however,
5199 any of the object files in the DLL contain symbols decorated
5221 The standard Windows dll format supports data imports from dlls
5270 including data symbols, to a dll without the usage of any import
5274 import lib, each function or variable exported from the dll is
5281 Linking directly to a dll uses no extra command-line switches
5285 order to force ld to select the dll instead of an import library.
5290 libxxx.dll.a
5291 xxx.dll.a
5294 cygxxx.dll (*)
5295 libxxx.dll
5296 xxx.dll
5300 (*) Actually, this is not `cygxxx.dll' but in fact is
5301 `<prefix>xxx.dll', where `<prefix>' is set by the `ld' option
5302 `--dll-search-prefix=<prefix>'. In the case of cygwin, the
5303 standard gcc spec file includes `--dll-search-prefix=cyg', so in
5304 effect we actually search for `cygxxx.dll'.
5309 conflicts among dll's built for the various win32/un*x
5310 environments, so that (for example) two versions of a zlib dll
5314 applications and dll's and a `lib' directory for the import
5318 cygxxx.dll
5320 libxxx.dll.a (in case of dll's)
5323 Linking directly to a dll without using the import library can be
5326 1. Use the dll directly by adding the `bin' path to the link line
5329 However, as the dll's often have version numbers appended to their
5330 names (`cygncurses-5.dll') this will often fail, unless one
5334 2. Create a symbolic link from the dll to a file in the `lib'
5337 making the app/dll.
5339 ln -s bin/cygxxx.dll lib/[cyg|lib|]xxx.dll[.a]
5349 cygxxx-5.dll
5351 libxxx.dll.a -> ../bin/cygxxx-5.dll
5353 Linking directly to a dll without using an import lib will work
5361 1. Until recently, the link-directly-to-dll functionality did _not_
5366 indirection symbols that point to the exports of a dll). Again,
5371 is critical when linking against OS-supplied dll's (eg, the win32
5377 dll, in many cases, is a useful addition to the suite of tools
5389 DEF file when creating the dll. This will affect also the
5393 LIBRARY "xyz.dll" BASE=0x61000000
5417 LIBRARY "xyz.dll" BASE=0x61000000
6436 * --dll: Options. (line 1480)
6437 * --dll-search-prefix: Options. (line 1628)
6758 * direct linking to a dll: WIN32. (line 218)
6780 * exporting DLL symbols: WIN32. (line 19)