Lines Matching full:dll
861 `.exe' or `.dll' suffix, this option forces the linker to copy the
1208 `--dll-verbose'
1414 output to be a dynamically linked library (DLL) instead of a normal
1415 executable. You should name the output `*.dll' when you use this
1436 `--dll'
1437 Create a DLL instead of a regular executable. You may also use
1460 If given, all global symbols in the objects used to build a DLL
1461 will be exported by the DLL. Note that this is the default if
1469 DLL's internal layout such as those beginning with `_head_' or
1503 Use VALUE as the base address of your program or dll. This is the
1504 lowest memory location that will be used when your program or dll
1555 corresponding to the DLL the linker is generating. This DEF file
1563 lib corresponding to the DLL the linker is generating. This import
1564 lib (which should be called `*.dll.a' or `*.a' may be used to link
1565 clients against the generated DLL; this behaviour makes it
1574 DLL, in-memory collisions and relocations which can delay program
1584 `--dll-search-prefix STRING'
1585 When linking dynamically to a dll without an import library,
1586 search for `<string><basename>.dll' in preference to
1587 `lib<basename>.dll'. This behaviour allows easy distinction
1590 `--dll-search-prefix=cyg'. [This option is specific to the i386
1610 to member fields of struct variables imported from a DLL, as well
1612 DLL. Any multiword variable (arrays, structs, long long, etc) may
1658 compile-time #defines to indicate whether you are building a DLL,
1659 building client code that will link to the DLL, or merely
1714 section, that is, DATA imports from DLL with non-zero offset, this
4603 libraries, which contains information for linking to dll's. They
4609 _exporting DLL symbols_
4610 The cygwin/mingw `ld' has several ways to export symbols for dll's.
4635 should be exported when a dll is created. Usually it is
4636 named `<dll name>.def' and is added as any other object file
4640 gcc -o <output> <objectfiles> <dll name>.def
4646 `xyz.dll':
4648 LIBRARY "xyz.dll" BASE=0x20000000
4654 another_foo = abc.dll.afoo
4657 This example defines a DLL with a non-default base address
4661 and treating it as an alias for `afoo' exported from the DLL
4662 `abc.dll
4666 name of the output DLL. If `<name>' does not include a suffix,
4667 the default library suffix, `.DLL' is appended.
4689 Declares `<name1>' as an exported symbol from the DLL, or
4692 `<external-name>' in the DLL `<module-name>'. Optionally,
4698 `NONAME': Do not put the symbol name in the DLL's export
4718 `PRIVATE': Put the symbol in the DLL's export table, but do
4722 using the GNU ld extension of linking directly to the DLL
4728 While linking a shared dll, `ld' is able to create a DEF file
4733 source code itself, so that when building the DLL each symbol
4739 All such symbols will be exported from the DLL. If, however,
4740 any of the object files in the DLL contain symbols decorated
4762 The standard Windows dll format supports data imports from dlls
4811 including data symbols, to a dll without the usage of any import
4815 import lib, each function or variable exported from the dll is
4822 Linking directly to a dll uses no extra command-line switches
4826 order to force ld to select the dll instead of an import library.
4831 libxxx.dll.a
4832 xxx.dll.a
4834 cygxxx.dll (*)
4835 libxxx.dll
4836 xxx.dll
4840 (*) Actually, this is not `cygxxx.dll' but in fact is
4841 `<prefix>xxx.dll', where `<prefix>' is set by the `ld' option
4842 `--dll-search-prefix=<prefix>'. In the case of cygwin, the
4843 standard gcc spec file includes `--dll-search-prefix=cyg', so in
4844 effect we actually search for `cygxxx.dll'.
4849 conflicts among dll's built for the various win32/un*x
4850 environments, so that (for example) two versions of a zlib dll
4854 applications and dll's and a `lib' directory for the import
4858 cygxxx.dll
4860 libxxx.dll.a (in case of dll's)
4863 Linking directly to a dll without using the import library can be
4866 1. Use the dll directly by adding the `bin' path to the link line
4869 However, as the dll's often have version numbers appended to their
4870 names (`cygncurses-5.dll') this will often fail, unless one
4874 2. Create a symbolic link from the dll to a file in the `lib'
4877 making the app/dll.
4879 ln -s bin/cygxxx.dll lib/[cyg|lib|]xxx.dll[.a]
4889 cygxxx-5.dll
4891 libxxx.dll.a -> ../bin/cygxxx-5.dll
4893 Linking directly to a dll without using an import lib will work
4901 1. Until recently, the link-directly-to-dll functionality did _not_
4906 indirection symbols that point to the exports of a dll). Again,
4912 dll, in most cases, is a useful addition to the suite of tools
4924 DEF file when creating the dll. This will affect also the
4928 LIBRARY "xyz.dll" BASE=0x61000000
4952 LIBRARY "xyz.dll" BASE=0x61000000
5966 * --dll: Options. (line 1353)
5967 * --dll-search-prefix: Options. (line 1501)
6259 * direct linking to a dll: WIN32. (line 218)
6281 * exporting DLL symbols: WIN32. (line 19)