1Since 2.1.99-test5, pciutils should also be compilable on Windows. Thanks 2to Alexander Stock for contributing the port. 3 4Updated after version 2.2.6 to compile again, and with MinGW, even (only?) 5cross-compiling. (Hopefully it works with MSVC too.) 6 7To use this port on NT-based systems, it is required to have SeTcbPrivilege 8(Act as part of the operating system privilege), which can be enabled in User 9Accounts settings (take effect after next login). By default this privilege is 10not enabled for any non-system user. Or alternatively it is required to be in 11local Administrators group and on Windows 2000 SP4 or higher systems to have 12SeImpersonatePrivilege (Impersonate a client after authentication privilege) 13which is by default enabled for all local Administrators accounts. There is no 14special requirement for DOS-based systems. 15 16To compile this port, run following command: 17 18 make CROSS_COMPILE=i586-mingw32msvc- HOST=i386-windows ZLIB=no IDSDIR="" 19 20Sometimes compilation may fail due to broken or missing getopt implementation. 21In this case try to compile with additional make option: COMPAT_GETOPT=yes 22 23================================================================================ 24BEWARE: The current implementation pokes I/O ports to access the PCI devices 25directly. This leads to several problems: some devices are invisible, extended 26PCIe configuration space is not available, and there are many potential race 27conditions. Instead, libpci should use the proper Windows drivers. 28 29Unfortunately, the Windows port currently lacks a maintainer. If you are willing 30to step up and fix the issues, please let me know. -- Martin Mares 31================================================================================ 32