Getopt homepage: http://software.frodo.looijaard.name/getopt/
Author's email: frodo@frodo.looijaard.name
Download windows exe and source: getopt-1.1.5.zip (md5sum: c40b0b887683d46b933582ebd4b829c2) sf-mirror
Building from source
- Delete gnu/*.o files - if they exist, because they should not be there
- To build getopt.exe you use the following command line:
CC setting is for cross compiling on Linux, omit it if you sit directly on windows (mingw required). Ignore the warnings
Kod: Zaznacz cały
LIBCGETOPT=0 WITHOUT_GETTEXT=1 CC=/usr/bin/i586-mingw32msvc-gcc make -e
- Rename getopt to getopt.exe