AminetAminet
Search:
84475 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/lib/libargp.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:libargp.a - standalone argp from glibc
Author:Miles Bader, Niels Möller, AlexC
Uploader:Alex Carmona <AmigaOne theworld net>
Type:dev/lib
Version:1.3
Architecture:ppc-amigaos >= 4.0.5
Date:2008-02-26
Download:http://aminet.net/dev/lib/libargp.lha - View contents
Readme:http://aminet.net/dev/lib/libargp.readme
Downloads:2157

This is an AmigaOS port of argp-standalone 1.3.

libargp.a is a standalone version (static library) of argp
(arguments parsing functions) from GLIBC.
It was separated off glibc by Niels M

Sources from http://www.freshports.org/devel/argp-standalone/

I ported this while trying to satisfy some dependencies in another program and
somehow, it produced the enclosed libargp.a static library.
The test binaries all run fine so it seems to work properly.

I really had no idea what I was doing, other than changing the sources as needed
each time I got a warning or error while trying to make gcc compile everything.

In my bliss, or ignorance, I can only guess how it should be used so I'll
suggest
that you put libargp.a in SDK:Local/newlib/lib and argp.h in 
SDK:Local/newlib/includes

Hopefully that's all you need to do to succesfully compile programs containing
#include <argp.h> in the source.

If not, you might need an additional linker option such as -Largp to make gcc
insert the static lib in the resulting binary, but don't take my word for it as
I still have no idea what I'm talking about :-P

The archive contains a few test executables "argp-test", and in testsuite/
ex1, ex3, and ex4, which you can try in a shell. Use --help for some help.

The sources didn't come with any documentation for the argp API so you'll have
to lookup the glibc docs if you want to know more, but that shouldn't be
necessary if you only use it to port stuff.


Contents of dev/lib/libargp.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 4409    5061  87.1% -lh5- c9d0 Feb 25 20:54 argp-standalone-1.3.info
[generic]                 7955   28202  28.2% -lh5- 88f3 Feb  7  2004 argp-standalone-1.3/acinclude.m4
[generic]                 9757   35727  27.3% -lh5- 291a Feb 23  2004 argp-standalone-1.3/aclocal.m4
[generic]                  740    1356  54.6% -lh5- 7f4b Feb 23  2004 argp-standalone-1.3/argp-ba.c
[generic]                  710    1289  55.1% -lh5- 7339 Feb 25 00:51 argp-standalone-1.3/argp-eexst.c
[generic]                 4325   12780  33.8% -lh5- fcf4 Dec 11  2003 argp-standalone-1.3/argp-fmtstream.c
[generic]                 2862   11124  25.7% -lh5- d927 Dec 11  2003 argp-standalone-1.3/argp-fmtstream.h
[generic]                16971   55267  30.7% -lh5- b393 Dec 11  2003 argp-standalone-1.3/argp-help.c
[generic]                 1084    3510  30.9% -lh5- ab6f Jan  5  2001 argp-standalone-1.3/argp-namefrob.h
[generic]                11666   36699  31.8% -lh5- 64bd Dec 11  2003 argp-standalone-1.3/argp-parse.c
[generic]                  722    1327  54.4% -lh5- 5ad8 Feb 23  2004 argp-standalone-1.3/argp-pv.c
[generic]                  835    1519  55.0% -lh5- ef02 Feb 23  2004 argp-standalone-1.3/argp-pvh.c
[generic]                18713   38916  48.1% -lh5- 65a2 Feb 25 20:13 argp-standalone-1.3/argp-test
[generic]                 2487    6384  39.0% -lh5- 32c6 Feb 25 01:08 argp-standalone-1.3/argp-test.c
[generic]                 8908   26466  33.7% -lh5- 9c60 Feb 25 00:57 argp-standalone-1.3/argp.h
[generic]                 3390    9917  34.2% -lh5- aa00 Feb 23  2004 argp-standalone-1.3/ChangeLog
[generic]                 1393    4625  30.1% -lh5- 2800 Feb 25 00:37 argp-standalone-1.3/config.h
[generic]                 1331    4390  30.3% -lh5- 74f8 Feb 23  2004 argp-standalone-1.3/config.h.in
[generic]                 6324   40730  15.5% -lh5- c7b3 Feb 25 00:37 argp-standalone-1.3/config.log
[generic]                11066   38474  28.8% -lh5- 4040 Feb 25 00:37 argp-standalone-1.3/config.status
[generic]                47200  218211  21.6% -lh5- cc7b Feb 23  2004 argp-standalone-1.3/configure
[generic]                 1406    2751  51.1% -lh5- a521 Feb 23  2004 argp-standalone-1.3/configure.ac
[generic]                 5071   14841  34.2% -lh5- 7b97 Feb  7  2004 argp-standalone-1.3/depcomp
[generic]                 3656    8986  40.7% -lh5- a466 Feb  7  2004 argp-standalone-1.3/install-sh
[generic]               104035  249100  41.8% -lh5- ce04 Feb 25 01:06 argp-standalone-1.3/libargp.a
[generic]                 6665   22306  29.9% -lh5- 8c8e Feb 25 00:37 argp-standalone-1.3/Makefile
[generic]                  738    1372  53.8% -lh5- 4ff7 Feb 23  2004 argp-standalone-1.3/Makefile.am
[generic]                 6638   23145  28.7% -lh5- afcb Feb 23  2004 argp-standalone-1.3/Makefile.in
[generic]                  191     269  71.0% -lh5- 732e Nov 29  2000 argp-standalone-1.3/mempcpy.c
[generic]                 3376   10678  31.6% -lh5- c88a Feb  7  2004 argp-standalone-1.3/missing
[generic]                 1211    2929  41.3% -lh5- 5377 Feb  7  2004 argp-standalone-1.3/mkinstalldirs
[generic]                 4116    4908  83.9% -lh5- 7090 Feb 25 20:54 argp-standalone-1.3/ReadMe.AMIGA.info
[generic]                   23      23 100.0% -lh0- 8d53 Feb 25 00:37 argp-standalone-1.3/stamp-h1
[generic]                  278     441  63.0% -lh5- 7d12 Nov 29  2000 argp-standalone-1.3/strchrnul.c
[generic]                  266     436  61.0% -lh5- bc0a Nov 29  2000 argp-standalone-1.3/strndup.c
[generic]                17001   35012  48.6% -lh5- d894 Feb 25 20:12 argp-standalone-1.3/testsuite/ex1
[generic]                  171     303  56.4% -lh5- 19c0 Feb  4  2003 argp-standalone-1.3/testsuite/ex1-test
[generic]                  249     401  62.1% -lh5- adcf Feb  4  2003 argp-standalone-1.3/testsuite/ex1.c
[generic]                17619   36300  48.5% -lh5- 4f43 Feb 25 20:12 argp-standalone-1.3/testsuite/ex3
[generic]                 2072    5476  37.8% -lh5- 00b3 Feb  5  2003 argp-standalone-1.3/testsuite/ex3.c
[generic]                18217   37344  48.8% -lh5- 77ff Feb 25 20:12 argp-standalone-1.3/testsuite/ex4
[generic]                 2264    5584  40.5% -lh5- 41f8 Feb  5  2003 argp-standalone-1.3/testsuite/ex4.c
[generic]                 3832   11933  32.1% -lh5- 37f6 Feb 25 00:37 argp-standalone-1.3/testsuite/Makefile
[generic]                  186     295  63.1% -lh5- 7997 Feb  4  2003 argp-standalone-1.3/testsuite/Makefile.am
[generic]                 3750   12338  30.4% -lh5- abc4 Feb 23  2004 argp-standalone-1.3/testsuite/Makefile.in
[generic]                  269     441  61.0% -lh5- ad06 Feb 16  2003 argp-standalone-1.3/testsuite/permute-test
[generic]                  421    1010  41.7% -lh5- c5a5 Feb 18  2003 argp-standalone-1.3/testsuite/run-tests
[generic]                   72      83  86.7% -lh5- 710a Mar 13  2003 argp-standalone-1.3/TODO
[generic]                  198     349  56.7% -lh5- 0235 Oct  4  1999 argp-standalone-1.3/Versions
[generic]                  793    1453  54.6% -lh5- 39d3 Feb 25 21:06 argp-standalone-1.3/ReadMe.AMIGA
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        50 files  367632 1072481  34.3%            Feb 26 05:35

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>