OS4 DepotLogo by Browallia 
(anonymous IP: 3.16.76.102,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

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: 239  (Current version)
239  (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 © 2004-2024 by Björn Hagström All Rights Reserved