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
5069 libraries, which contains information for linking to dll's. They
5075 _exporting DLL symbols_
5076 The cygwin/mingw `ld' has several ways to export symbols for dll's.
5101 should be exported when a dll is created. Usually it is
5102 named `<dll name>.def' and is added as any other object file
5106 gcc -o <output> <objectfiles> <dll name>.def
5112 `xyz.dll':
5114 LIBRARY "xyz.dll" BASE=0x20000000
5120 another_foo = abc.dll.afoo
5123 This example defines a DLL with a non-default base address
5127 and treating it as an alias for `afoo' exported from the DLL
5128 `abc.dll'. The final symbol `var1' is declared to be a data
5132 name of the output DLL. If `<name>' does not include a suffix,
5133 the default library suffix, `.DLL' is appended.
5155 Declares `<name1>' as an exported symbol from the DLL, or
5158 `<external-name>' in the DLL `<module-name>'. Optionally,
5164 `NONAME': Do not put the symbol name in the DLL's export
5184 `PRIVATE': Put the symbol in the DLL's export table, but do
5188 using the GNU ld extension of linking directly to the DLL
5194 While linking a shared dll, `ld' is able to create a DEF file
5199 source code itself, so that when building the DLL each symbol
5205 All such symbols will be exported from the DLL. If, however,
5206 any of the object files in the DLL contain symbols decorated
5228 The standard Windows dll format supports data imports from dlls
5277 including data symbols, to a dll without the usage of any import
5281 import lib, each function or variable exported from the dll is
5288 Linking directly to a dll uses no extra command-line switches
5292 order to force ld to select the dll instead of an import library.
5297 libxxx.dll.a
5298 xxx.dll.a
5301 cygxxx.dll (*)
5302 libxxx.dll
5303 xxx.dll
5307 (*) Actually, this is not `cygxxx.dll' but in fact is
5308 `<prefix>xxx.dll', where `<prefix>' is set by the `ld' option
5309 `--dll-search-prefix=<prefix>'. In the case of cygwin, the
5310 standard gcc spec file includes `--dll-search-prefix=cyg', so in
5311 effect we actually search for `cygxxx.dll'.
5316 conflicts among dll's built for the various win32/un*x
5317 environments, so that (for example) two versions of a zlib dll
5321 applications and dll's and a `lib' directory for the import
5325 cygxxx.dll
5327 libxxx.dll.a (in case of dll's)
5330 Linking directly to a dll without using the import library can be
5333 1. Use the dll directly by adding the `bin' path to the link line
5336 However, as the dll's often have version numbers appended to their
5337 names (`cygncurses-5.dll') this will often fail, unless one
5341 2. Create a symbolic link from the dll to a file in the `lib'
5344 making the app/dll.
5346 ln -s bin/cygxxx.dll lib/[cyg|lib|]xxx.dll[.a]
5356 cygxxx-5.dll
5358 libxxx.dll.a -> ../bin/cygxxx-5.dll
5360 Linking directly to a dll without using an import lib will work
5368 1. Until recently, the link-directly-to-dll functionality did _not_
5373 indirection symbols that point to the exports of a dll). Again,
5378 is critical when linking against OS-supplied dll's (eg, the win32
5384 dll, in many cases, is a useful addition to the suite of tools
5396 DEF file when creating the dll. This will affect also the
5400 LIBRARY "xyz.dll" BASE=0x61000000
5424 LIBRARY "xyz.dll" BASE=0x61000000
6441 * --dll: Options. (line 1480)
6442 * --dll-search-prefix: Options. (line 1628)
6766 * direct linking to a dll: WIN32. (line 218)
6788 * exporting DLL symbols: WIN32. (line 19)