wiki:pciutils

PCI Utilities

For HLFS users, or anyone who wants exclusively PIC libraries, use the following commands.

This static library may not be needed:

make PREFIX=/usr ZLIB=no OPT="-O2 -fPIC" &&
make PREFIX=/usr ZLIB=no OPT="-O2 -fPIC" install &&
install -v -m 644 lib/libpci.a /usr/lib

This builds the shared library:

make clean &&
make PREFIX=/usr ZLIB=no SHARED=yes &&
make PREFIX=/usr ZLIB=no SHARED=yes install &&
cd /usr/lib &&
ln -svf libpci.so.3 libpci.so

Install the headers too:

install -v -m 755 -d /usr/include/pci &&
install -v -m 644 lib/*.h /usr/include/pci

Up
Top

Last modified 14 years ago Last modified on 02/10/2009 08:51:42 PM
Note: See TracWiki for help on using the wiki.