Difference between revisions of "Gperf"

From CBLFS
Jump to navigationJump to search
(New page: {| style="text-align: left; background-color: AliceBlue;" |-valign="top" !Download Source: | ftp://ftp.gnu.org/pub/gnu/gperf/gperf-{{Gperf-Version}}.tar.gz |} ---- == Introduction to Gpe...)
 
Line 27: Line 27:
  
 
== Multilib ==
 
== Multilib ==
 +
'''''This package does not install any libraries so only one installation is needed.'''''
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 32: Line 33:
 
Compile the package:
 
Compile the package:
  
  To do ...
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 +
./configure --prefix=/usr &&
 +
make
  
 
Install the package
 
Install the package
  
  To do ...
+
  make install
  
 
=== N32 ===
 
=== N32 ===
Line 42: Line 45:
 
Compile the package:
 
Compile the package:
  
  To do ...
+
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 +
./configure --prefix=/usr &&
 +
make
  
 
Install the package
 
Install the package
  
  To do ...
+
  make install
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 52: Line 57:
 
Compile the package:
 
Compile the package:
  
  To do ...
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 +
./configure --prefix=/usr &&
 +
make
  
 
Install the package
 
Install the package
  
  To do ...
+
  make install
  
 
= Contents =
 
= Contents =

Revision as of 16:03, 24 March 2007

Download Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-3.0.4.tar.gz

Introduction to Gperf

GNU gperf is a program that generates perfect hash functions for sets of keywords. A perfect hash function is a hash function and a data structure that allows recognition of a key word in a set of words using exactly 1 probe into the data structure. Output from the GPERF program is used to recognize reserved words in the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU indent program.

Project Home Page: http://www.gnu.org/software/gperf

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

This package does not install any libraries so only one installation is needed.

32Bit

Compile the package:

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

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
./configure --prefix=/usr &&
make

Install the package

make install

64Bit

Compile the package:

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

Install the package

make install

Contents

Installed Programs: gperf
Installed Libraries: None
Installed Directory: /usr/share/doc/gperf