]> mj.ucw.cz Git - pciutils.git/commitdiff
README: Update information how to compile Windows port
authorPali Rohár <pali@kernel.org>
Sun, 26 Dec 2021 21:30:19 +0000 (22:30 +0100)
committerMartin Mareš <mj@ucw.cz>
Sun, 26 Dec 2021 21:51:59 +0000 (22:51 +0100)
README.Windows

index e0a668c882022dabbca5f242263d850334396b00..68ca6473d509a35060a25f40bdd5a1d7a57ada26 100644 (file)
@@ -13,6 +13,13 @@ SeImpersonatePrivilege (Impersonate a client after authentication privilege)
 which is by default enabled for all local Administrators accounts. There is no
 special requirement for DOS-based systems.
 
+To compile this port, run following command:
+
+  make CROSS_COMPILE=i586-mingw32msvc- HOST=i386-windows ZLIB=no IDSDIR=""
+
+Sometimes compilation may fail due to broken or missing getopt implementation.
+In this case try to compile with additional make option: COMPAT_GETOPT=yes
+
 ================================================================================
 BEWARE: The current implementation pokes I/O ports to access the PCI devices
 directly. This leads to several problems: some devices are invisible, extended