Difference between revisions of "Libsmbios"
From CBLFS
Jump to navigationJump to searchLine 22: | Line 22: | ||
make install | make install | ||
− | Copy the headers to use by other applications (such as | + | Copy the headers to use by other applications (such as [[HAL]]) |
cp -prfv include/smbios /usr/include | cp -prfv include/smbios /usr/include | ||
Line 30: | Line 30: | ||
=== 32Bit === | === 32Bit === | ||
− | + | Compile the package: | |
+ | |||
+ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
+ | ./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 | ||
=== N32 === | === N32 === | ||
+ | Compile the package: | ||
+ | |||
+ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
+ | ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
+ | make | ||
+ | |||
+ | Install the package | ||
− | + | make install | |
+ | |||
+ | Copy the headers to use by other applications (such as [[HAL]]) | ||
+ | |||
+ | cp -prfv include/smbios /usr/include | ||
=== 64Bit === | === 64Bit === | ||
− | + | Compile the package: | |
+ | |||
+ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
+ | ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
+ | make | ||
+ | |||
+ | Install the package | ||
+ | |||
+ | make install | ||
+ | |||
+ | Copy the headers to use by other applications (such as [[HAL]]) | ||
+ | |||
+ | cp -prfv include/smbios /usr/include |
Revision as of 16:10, 21 December 2008
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:
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ ./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
N32
Compile the package:
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install
Copy the headers to use by other applications (such as HAL)
cp -prfv include/smbios /usr/include
64Bit
Compile the package:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package
make install
Copy the headers to use by other applications (such as HAL)
cp -prfv include/smbios /usr/include