OSDN Git Service

Added mingw32-pexports.xml
[mingw/mingw-dist.git] / mingw32 / mingw32-pexports.xml
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-pexports" alias="pexports">
6       <description lang="en" title="pexports: Generate .def files for DLLs" >
7         <paragraph>pexports 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. pexports is similar to gendef, 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. pexports can use a C pre-processor to extract the
15           information, provided you have the appropriate header files.
16           gendef locates the symbol's code in the DLL, and uses a
17           disassembler to determine that information. Neither method is
18           foolproof, so both tools are provided.
19         </paragraph>
20         <paragraph>Note that in order for pexports to detect the calling
21           convention, you must specify on the command line the headers to
22           parse. If the symbols are not declared in those headers, then the
23           proper decorations cannot be computed. Originally written by
24           Anders Norlander, it now supports both 32bit and 64bit DLLs and
25           EXEs thanks to Tor Lillqvist.
26         </paragraph>
27       </description>
28       <component class="bin">
29         <release tarname="pexports-0.44-1-mingw32-bin.tar.lzma" />
30         <requires eq="mingw32-gcc-core-*-mingw32-*-bin.tar" />
31         <requires eq="mingw32-w32api-*-mingw32-*-dev.tar" />
32         <requires eq="mingw32-mingwrt-*-mingw32-*-dev.tar" />
33       </component>
34       <component class="doc">
35         <release tarname="pexports-0.44-1-mingw32-doc.tar.lzma" />
36       </component>
37       <component class="lic">
38         <release tarname="pexports-0.44-1-mingw32-lic.tar.lzma" />
39       </component>
40       <licence tarname="pexports-%-mingw32-%-lic.tar" />
41       <source tarname="pexports-%-mingw32-%-src.tar" />
42     </package>
43   </package-collection>
44 </software-distribution>
45