aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-12-26 22:30:19 +0100
committerMartin Mareš <mj@ucw.cz>2021-12-26 22:51:59 +0100
commit63435b6e6e96b59b00cff31138603dadd1ec183a (patch)
treed446cf118d656c75688b35f45d60e0e7728febdd
parent5c3e8e71f108c123650217d081124ff049723721 (diff)
downloadpciutils-63435b6e6e96b59b00cff31138603dadd1ec183a.tar.gz
README: Update information how to compile Windows port
-rw-r--r--README.Windows7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.Windows b/README.Windows
index e0a668c..68ca647 100644
--- a/README.Windows
+++ b/README.Windows
@@ -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