1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <software-distribution project="MinGW" home="http://mingw.org" issue="@YYYYMMDDNN@">
3 <package-collection subsystem="mingw32">
4 <download-host uri="http://prdownloads.sourceforge.net/mingw/%F?download" />
5 <package name="mingw32-gendef" alias="gendef">
6 <description lang="en" title="gendef: Generate .def files for DLLs" >
7 <paragraph>gendef can extract information from DLLs to create
8 corresponding .def files that list the symbols available in each
9 DLL. .def files can then be used by dlltool (mingw32-binutils)
10 to generate import libraries. gendef is similar to pexports, but
11 the two tools differ in how each determines the "decoration" (or
12 calling convention) appropriate for each symbol, since that
13 information is not always available directly from the DLL's
14 symbol table. gendef locates the symbol's code in the DLL, and
15 uses a disassembler to determine that information. pexports can
16 use a C pre-processor to extract the information, provided you
17 have the appropriate header files. Neither method is foolproof,
18 so both tools are provided.
20 <paragraph>gendef was written by the MinGW64 team. It can extract
21 symbols from 32bit or 64bit EXEs or DLLs. It can automatically
22 detect stdcall, fastcall, and cdecl calling conventions and
23 generate the correctly decorated function names, without requiring
24 the header files or a C pre-processor.
27 <component class="bin">
28 <release tarname="gendef-1.0.1346-1-mingw32-bin.tar.lzma" />
30 <component class="doc">
31 <release tarname="gendef-1.0.1346-1-mingw32-doc.tar.lzma" />
33 <component class="lic">
34 <release tarname="gendef-1.0.1346-1-mingw32-lic.tar.lzma" />
36 <licence tarname="gendef-%-mingw32-%-lic.tar" />
37 <source tarname="gendef-%-mingw32-%-src.tar" />
40 </software-distribution>
41 <!-- vim: set nocompatible expandtab tw=80 ts=2 sw=2 ff=unix: -->