OS4 DepotLogo by Nickman 
(anonymous IP: 34.228.30.69,1233) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (329)
   o Datatype (47)
   o Demo (186)
   o Development (534)
   o Document (21)
   o Driver (88)
   o Emulation (142)
   o Game (860)
   o Graphics (464)
   o Library (94)
   o Network (202)
   o Office (57)
   o Utility (814)
   o Video (61)

Total files: 3899

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Development » Library » Misc » libargp.lha

Libargp

Description: libargp.a - standalone argp from glibc
Download: libargp.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 362kb
Version: 1.3
Date: 25 Feb 2008
Author: Miles Bader, Niels Möller, AlexC
Submitter: Alex Carmona
Email: AmigaOne/theworld net
Homepage: http://www.freshports.org/devel/argp-standalone/
Category: development/library/misc
License: LGPL
Distribute: yes
Min OS Version: 4.0
FileID: 3465
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 194  (Current version)
194  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
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.


Copyright (c) 2004-2018 by Björn Hagström All Rights Reserved