dlltool
Windows DLL import library creator
TLDR
Create import library from def file
SYNOPSIS
dlltool [options] [file...]
DESCRIPTION
dlltool is a GNU binutils tool for creating files needed to build and use Dynamic Link Libraries (DLLs) on Windows. It processes module definition (.def) files and creates import libraries and exports files.
Import libraries allow linking against DLLs at compile time. The tool generates the necessary stubs that resolve at runtime. Export files define symbols that a DLL makes available to other programs.
dlltool is essential for cross-compiling Windows software on Unix systems and for creating DLLs with MinGW and similar toolchains.
PARAMETERS
-d FILE
Input def file.-l FILE
Generate import library.-e FILE
Generate exports file.-z FILE
Generate def file from DLL.-m MACHINE
Target machine type (i386, x86_64).-D NAME
Name of input DLL.-k
Kill @n from exported names.--help
Display help information.
CAVEATS
Windows-specific tool. Def file syntax must be correct. Machine type must match target architecture. Import library format may vary between toolchains.
HISTORY
dlltool is part of GNU binutils, developed for supporting Windows DLL creation in cross-compilation environments. It enables building Windows software using GNU toolchains like MinGW.
