Difference between revisions of "PLIB"

From CBLFS
Jump to navigationJump to search
m
m
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://plib.sourceforge.net/dist/plib-{{PLIB-Version}}.tar.gz
 
| http://plib.sourceforge.net/dist/plib-{{PLIB-Version}}.tar.gz
|-valign="top"
 
!Download Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/plib/plib-{{PLIB-Version}}-gcc41_fixes-1.patch
 
 
|}
 
|}
  
Line 22: Line 19:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../plib-{{PLIB-Version}}-gcc41_fixes-1.patch &&
 
 
  CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr &&
 
  CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr &&
 
  make
 
  make
Line 36: Line 32:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../plib-{{PLIB-Version}}-gcc41_fixes-1.patch &&
 
 
  CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \
 
  CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \
 
  USE_ARCH=32 ./configure --prefix=/usr &&
 
  USE_ARCH=32 ./configure --prefix=/usr &&
Line 49: Line 44:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../plib-{{PLIB-Version}}-gcc41_fixes-1.patch &&
 
 
  CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" \
 
  CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" \
 
  USE_ARCH=n32 ./configure --prefix=/usr \
 
  USE_ARCH=n32 ./configure --prefix=/usr \
Line 63: Line 57:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../plib-{{PLIB-Version}}-gcc41_fixes-1.patch &&
 
 
  CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
 
  CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
 
  USE_ARCH=64 ./configure --prefix=/usr \
 
  USE_ARCH=64 ./configure --prefix=/usr \
Line 72: Line 65:
  
 
  make install
 
  make install
 
= Contents =
 
 
{| style="text-align: left;"
 
|-valign="top"
 
! Installed Programs:
 
| ???
 
|-valign="top"
 
! Installed Libraries:
 
| ???
 
|-valign="top"
 
! Installed Directories:
 
| ???
 
|}
 
 
=== Short Descriptions ===
 
 
{| style="text-align: left;"
 
|-valign="top"
 
! program1
 
| ???
 
|-valign="top"
 
! program2
 
| ???
 
|-valign="top"
 
! library1.{so,a}
 
| ???
 
|}
 

Revision as of 03:03, 14 March 2009

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

Introduction to PLIB

PLIB is a set of libraries that are designed to help developers write games and other interactive 3D applications.

Project Homepage: http://plib.sourceforge.net/

Dependencies

Required

Non-Multilib

Compile the package:

CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \
USE_ARCH=32 ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

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:

CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
USE_ARCH=64 ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install