⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dlltool.1

📁 MinGW+MSYS必备的开发工具链
💻 1
📖 第 1 页 / 共 2 页
字号:
exports file generated by dlltool..IP "\fB\-e\fR \fIfilename\fR" 4.IX Item "-e filename".PD 0.IP "\fB\-\-output\-exp\fR \fIfilename\fR" 4.IX Item "--output-exp filename".PDSpecifies the name of the export file to be created by dlltool..IP "\fB\-z\fR \fIfilename\fR" 4.IX Item "-z filename".PD 0.IP "\fB\-\-output\-def\fR \fIfilename\fR" 4.IX Item "--output-def filename".PDSpecifies the name of the \fI.def\fR file to be created by dlltool..IP "\fB\-l\fR \fIfilename\fR" 4.IX Item "-l filename".PD 0.IP "\fB\-\-output\-lib\fR \fIfilename\fR" 4.IX Item "--output-lib filename".PDSpecifies the name of the library file to be created by dlltool..IP "\fB\-\-export\-all\-symbols\fR" 4.IX Item "--export-all-symbols"Treat all global and weak defined symbols found in the input objectfiles as symbols to be exported.  There is a small list of symbols whichare not exported by default; see the \fB\-\-no\-default\-excludes\fRoption.  You may add to the list of symbols to not export by using the\&\fB\-\-exclude\-symbols\fR option..IP "\fB\-\-no\-export\-all\-symbols\fR" 4.IX Item "--no-export-all-symbols"Only export symbols explicitly listed in an input \fI.def\fR file or in\&\fB.drectve\fR sections in the input object files.  This is the defaultbehaviour.  The \fB.drectve\fR sections are created by \fBdllexport\fRattributes in the source code..IP "\fB\-\-exclude\-symbols\fR \fIlist\fR" 4.IX Item "--exclude-symbols list"Do not export the symbols in \fIlist\fR.  This is a list of symbol namesseparated by comma or colon characters.  The symbol names should notcontain a leading underscore.  This is only meaningful when\&\fB\-\-export\-all\-symbols\fR is used..IP "\fB\-\-no\-default\-excludes\fR" 4.IX Item "--no-default-excludes"When \fB\-\-export\-all\-symbols\fR is used, it will by default avoidexporting certain special symbols.  The current list of symbols to avoidexporting is \fBDllMain@12\fR, \fBDllEntryPoint@0\fR,\&\fBimpure_ptr\fR.  You may use the \fB\-\-no\-default\-excludes\fR optionto go ahead and export these special symbols.  This is only meaningfulwhen \fB\-\-export\-all\-symbols\fR is used..IP "\fB\-S\fR \fIpath\fR" 4.IX Item "-S path".PD 0.IP "\fB\-\-as\fR \fIpath\fR" 4.IX Item "--as path".PDSpecifies the path, including the filename, of the assembler to be usedto create the exports file..IP "\fB\-f\fR \fIoptions\fR" 4.IX Item "-f options".PD 0.IP "\fB\-\-as\-flags\fR \fIoptions\fR" 4.IX Item "--as-flags options".PDSpecifies any specific command line options to be passed to theassembler when building the exports file.  This option will work even ifthe \fB\-S\fR option is not used.  This option only takes one argument,and if it occurs more than once on the command line, then lateroccurrences will override earlier occurrences.  So if it is necessary topass multiple options to the assembler they should be enclosed indouble quotes..IP "\fB\-D\fR \fIname\fR" 4.IX Item "-D name".PD 0.IP "\fB\-\-dll\-name\fR \fIname\fR" 4.IX Item "--dll-name name".PDSpecifies the name to be stored in the \fI.def\fR file as the name ofthe \s-1DLL\s0 when the \fB\-e\fR option is used.  If this option is notpresent, then the filename given to the \fB\-e\fR option will beused as the name of the \s-1DLL\s0..IP "\fB\-m\fR \fImachine\fR" 4.IX Item "-m machine".PD 0.IP "\fB\-machine\fR \fImachine\fR" 4.IX Item "-machine machine".PDSpecifies the type of machine for which the library file should bebuilt.  \fBdlltool\fR has a built in default type, depending upon howit was created, but this option can be used to override that.  This isnormally only useful when creating DLLs for an \s-1ARM\s0 processor, when thecontents of the \s-1DLL\s0 are actually encode using Thumb instructions..IP "\fB\-a\fR" 4.IX Item "-a".PD 0.IP "\fB\-\-add\-indirect\fR" 4.IX Item "--add-indirect".PDSpecifies that when \fBdlltool\fR is creating the exports file itshould add a section which allows the exported functions to bereferenced without using the import library.  Whatever the hell thatmeans! .IP "\fB\-U\fR" 4.IX Item "-U".PD 0.IP "\fB\-\-add\-underscore\fR" 4.IX Item "--add-underscore".PDSpecifies that when \fBdlltool\fR is creating the exports file itshould prepend an underscore to the names of \fIall\fR exported symbols. .IP "\fB\-\-add\-stdcall\-underscore\fR" 4.IX Item "--add-stdcall-underscore"Specifies that when \fBdlltool\fR is creating the exports file itshould prepend an underscore to the names of exported \fIstdcall\fRfunctions. Variable names and non-stdcall function names are not modified.This option is useful when creating GNU-compatible import libs for thirdparty DLLs that were built with MS-Windows tools..IP "\fB\-k\fR" 4.IX Item "-k".PD 0.IP "\fB\-\-kill\-at\fR" 4.IX Item "--kill-at".PDSpecifies that when \fBdlltool\fR is creating the exports file itshould not append the string \fB@ <number>\fR.  These numbers arecalled ordinal numbers and they represent another way of accessing thefunction in a \s-1DLL\s0, other than by name..IP "\fB\-A\fR" 4.IX Item "-A".PD 0.IP "\fB\-\-add\-stdcall\-alias\fR" 4.IX Item "--add-stdcall-alias".PDSpecifies that when \fBdlltool\fR is creating the exports file itshould add aliases for stdcall symbols without \fB@ <number>\fRin addition to the symbols with \fB@ <number>\fR..IP "\fB\-p\fR" 4.IX Item "-p".PD 0.IP "\fB\-\-ext\-prefix\-alias\fR \fIprefix\fR" 4.IX Item "--ext-prefix-alias prefix".PDCauses \fBdlltool\fR to create external aliases for all \s-1DLL\s0imports with the specified prefix.  The aliases are created for bothexternal and import symbols with no leading underscore..IP "\fB\-x\fR" 4.IX Item "-x".PD 0.IP "\fB\-\-no\-idata4\fR" 4.IX Item "--no-idata4".PDSpecifies that when \fBdlltool\fR is creating the exports and libraryfiles it should omit the \f(CW\*(C`.idata4\*(C'\fR section.  This is for compatibilitywith certain operating systems..IP "\fB\-c\fR" 4.IX Item "-c".PD 0.IP "\fB\-\-no\-idata5\fR" 4.IX Item "--no-idata5".PDSpecifies that when \fBdlltool\fR is creating the exports and libraryfiles it should omit the \f(CW\*(C`.idata5\*(C'\fR section.  This is for compatibilitywith certain operating systems..IP "\fB\-i\fR" 4.IX Item "-i".PD 0.IP "\fB\-\-interwork\fR" 4.IX Item "--interwork".PDSpecifies that \fBdlltool\fR should mark the objects in the libraryfile and exports file that it produces as supporting interworkingbetween \s-1ARM\s0 and Thumb code..IP "\fB\-n\fR" 4.IX Item "-n".PD 0.IP "\fB\-\-nodelete\fR" 4.IX Item "--nodelete".PDMakes \fBdlltool\fR preserve the temporary assembler files it used tocreate the exports file.  If this option is repeated then dlltool willalso preserve the temporary object files it uses to create the libraryfile..IP "\fB\-t\fR \fIprefix\fR" 4.IX Item "-t prefix".PD 0.IP "\fB\-\-temp\-prefix\fR \fIprefix\fR" 4.IX Item "--temp-prefix prefix".PDMakes \fBdlltool\fR use \fIprefix\fR when constructing the names oftemporary assembler and object files.  By default, the temp file prefixis generated from the pid.  .IP "\fB\-v\fR" 4.IX Item "-v".PD 0.IP "\fB\-\-verbose\fR" 4.IX Item "--verbose".PDMake dlltool describe what it is doing..IP "\fB\-h\fR" 4.IX Item "-h".PD 0.IP "\fB\-\-help\fR" 4.IX Item "--help".PDDisplays a list of command line options and then exits..IP "\fB\-V\fR" 4.IX Item "-V".PD 0.IP "\fB\-\-version\fR" 4.IX Item "--version".PDDisplays dlltool's version number and then exits..IP "\fB@\fR\fIfile\fR" 4.IX Item "@file"Read command-line options from \fIfile\fR.  The options read areinserted in place of the original @\fIfile\fR option.  If \fIfile\fRdoes not exist, or cannot be read, then the option will be treatedliterally, and not removed.  .SpOptions in \fIfile\fR are separated by whitespace.  A whitespacecharacter may be included in an option by surrounding the entireoption in either single or double quotes.  Any character (including abackslash) may be included by prefixing the character to be includedwith a backslash.  The \fIfile\fR may itself contain additional@\fIfile\fR options; any such options will be processed recursively..SH "SEE ALSO".IX Header "SEE ALSO"The Info pages for \fIbinutils\fR..SH "COPYRIGHT".IX Header "COPYRIGHT"Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc..PPPermission is granted to copy, distribute and/or modify this documentunder the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1or any later version published by the Free Software Foundation;with no Invariant Sections, with no Front-Cover Texts, and with noBack-Cover Texts.  A copy of the license is included in thesection entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -