PLIB

From CBLFS
Revision as of 07:46, 4 November 2006 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: http://plib.sourceforge.net/dist/plib-1.8.4.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/plib/plib-1.8.4-gcc41_fixes-1.patch

Dependencies

Required

Non-Multilib

Compile the package:

patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \
USE_ARCH=32 ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" \
USE_ARCH=n32 ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
USE_ARCH=64 ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install
Retrieved from "?title=PLIB&oldid=3646"