Difference between revisions of "Libsmbios"
From CBLFS
Jump to navigationJump to searchDevilsclaw (talk | contribs) (→Multilib) |
|||
Line 31: | Line 31: | ||
Compile the package: | Compile the package: | ||
− | + | export PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" && | |
+ | export USE_ARCH=32 && | ||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
Line 39: | Line 40: | ||
make install | make install | ||
+ | unset PKG_CONFIG_PATH | ||
+ | unset USE_ARCH | ||
Copy the headers to use by other applications (such as [[HAL]]) | Copy the headers to use by other applications (such as [[HAL]]) | ||
Line 47: | Line 50: | ||
Compile the package: | Compile the package: | ||
+ | export PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" && | ||
+ | export USE_ARCH=N32 && | ||
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
./configure --prefix=/usr --libdir=/usr/lib32 && | ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
Line 54: | Line 59: | ||
make install | make install | ||
+ | unset PKG_CONFIG_PATH | ||
+ | unset USE_ARCH | ||
Copy the headers to use by other applications (such as [[HAL]]) | Copy the headers to use by other applications (such as [[HAL]]) | ||
Line 63: | Line 70: | ||
Compile the package: | Compile the package: | ||
+ | export PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" && | ||
+ | export USE_ARCH=64 && | ||
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
./configure --prefix=/usr --libdir=/usr/lib64 && | ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
Line 70: | Line 79: | ||
make install | make install | ||
+ | unset PKG_CONFIG_PATH | ||
+ | unset USE_ARCH | ||
Copy the headers to use by other applications (such as [[HAL]]) | Copy the headers to use by other applications (such as [[HAL]]) | ||
cp -prfv include/smbios /usr/include | cp -prfv include/smbios /usr/include |
Revision as of 15:38, 30 August 2009
Download Source: | http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-2.2.19/libsmbios-2.2.19.tar.gz |
---|
Contents
Introduction to Libsmbios
The libsmbios project aims towards providing access to as much BIOS information as possible. It does this by providing a library of functions that can be used as well as sample binaries.
Project Homepage: http://linux.dell.com/libsmbios/main/index.html
Dependencies
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package
make install
Copy the headers to use by other applications (such as HAL)
cp -prfv include/smbios /usr/include
Multilib
32Bit
Compile the package:
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" && export USE_ARCH=32 && CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ ./configure --prefix=/usr && make
Install the package
make install unset PKG_CONFIG_PATH unset USE_ARCH
Copy the headers to use by other applications (such as HAL)
cp -prfv include/smbios /usr/include
N32
Compile the package:
export PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" && export USE_ARCH=N32 && CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install unset PKG_CONFIG_PATH unset USE_ARCH
Copy the headers to use by other applications (such as HAL)
cp -prfv include/smbios /usr/include
64Bit
Compile the package:
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" && export USE_ARCH=64 && CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package
make install unset PKG_CONFIG_PATH unset USE_ARCH
Copy the headers to use by other applications (such as HAL)
cp -prfv include/smbios /usr/include