Difference between revisions of "PLIB"

From CBLFS
Jump to navigationJump to search
 
Line 43: Line 43:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 
  USE_ARCH=n32 ./configure --prefix=/usr \
 
  USE_ARCH=n32 ./configure --prefix=/usr \
Line 56: Line 57:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 
  USE_ARCH=64 ./configure --prefix=/usr \
 
  USE_ARCH=64 ./configure --prefix=/usr \

Revision as of 20:26, 3 November 2006

Download Source: http://plib.sourceforge.net/dist/plib-1.8.4.tar.gz

Dependencies

Required

Non-Multilib

Compile the package:

patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
./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}" CXX="g++ ${BUILD32}" \
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}" CXX="g++ ${BUILDN32}" \
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}" CXX="g++ ${BUILD64}" \
USE_ARCH=64 ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install