Difference between revisions of "Gengetopt"

From CBLFS
Jump to navigationJump to search
(Multilib)
(32Bit)
Line 37: Line 37:
  
 
  make install
 
  make install
+
 
 
=== N32 ===
 
=== N32 ===
  

Revision as of 07:47, 24 December 2006

Download Source: ftp://ftp.gnu.org/gnu/gengetopt/gengetopt-2.22.1.tar.gz

Introduction to GNU Gengetopt

This program generates a C function that uses getopt_long function to parse the command line options, to validate them and fills a struct.

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr --disable-dependency-tracking &&
make

Install the package:

make install

Multilib

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: gengetopt
Installed Libraries: None
Installed Directories: None