Difference between revisions of "Gengetopt"
From CBLFS
Jump to navigationJump to searchChipster19 (talk | contribs) |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
---- | ---- | ||
− | + | {{Package-Introduction|This program generates a C function that uses getopt_long function to parse the command line options, to validate them and fills a struct.|http://www.gnu.org/software/gengetopt/gengetopt.html}} | |
− | |||
− | 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 == | == Dependencies == | ||
Line 17: | Line 15: | ||
Compile the package: | Compile the package: | ||
− | ./configure --prefix=/usr | + | ./configure --prefix=/usr && |
make | make | ||
Line 28: | Line 26: | ||
=== 32Bit === | === 32Bit === | ||
− | + | Compile the package: | |
+ | |||
+ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
+ | ./configure --prefix=/usr && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install | ||
=== N32 === | === N32 === | ||
− | + | Compile the package: | |
+ | |||
+ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
+ | ./configure --prefix=/usr && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install | ||
=== 64Bit === | === 64Bit === | ||
− | + | Compile the package: | |
+ | |||
+ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
+ | ./configure --prefix=/usr && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install | ||
= Contents = | = Contents = | ||
Line 49: | Line 71: | ||
|-valign="top" | |-valign="top" | ||
! Installed Directories: | ! Installed Directories: | ||
− | | | + | | /usr/share/doc/gengetopt |
|} | |} | ||
+ | |||
+ | [[Category:Programming]] |
Latest revision as of 15:58, 19 March 2009
Download Source: | ftp://ftp.gnu.org/gnu/gengetopt/gengetopt-2.22.1.tar.gz |
---|
Contents
Introduction to 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.
Project Homepage: http://www.gnu.org/software/gengetopt/gengetopt.html
Dependencies
Non-Multilib
Compile the package:
./configure --prefix=/usr && 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: | /usr/share/doc/gengetopt |