* an alternative implementaton of the glibc-specific argp* interface?
@ 2015-01-07 14:59 u-wsnj
2015-01-07 16:02 ` Waldemar Brodkorb
2015-01-07 19:50 ` Felix Janda
0 siblings, 2 replies; 4+ messages in thread
From: u-wsnj @ 2015-01-07 14:59 UTC (permalink / raw)
To: musl
Hello,
The background: a purely musl-based environment.
I am trying to compile elfutils
https://fedorahosted.org/elfutils/
They are said to be necessary for building certain xorg drivers.
Unfortunately the package uses the argp* interface, includes <argp.h>
in many places.
There are some musl-compatibility patches for elfutils
(https://github.com/openwrt/packages/tree/master/libs/elfutils/patches)
but they do not seem to address this issue - they possibly suffice
on systems which also have glibc and hence the expected includes in the
"system" directories.
Is anybody aware of sufficent stubs for this gnu-specific interface?
There is "gnulib" but it is a very heavyweight tool for such a purpose,
it enforces the use of and coordination with the whole auto* suite
and is meant to be used by the upstream developers rather than at
deployment builds.
Any suggestions?
Rune
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: an alternative implementaton of the glibc-specific argp* interface?
2015-01-07 14:59 an alternative implementaton of the glibc-specific argp* interface? u-wsnj
@ 2015-01-07 16:02 ` Waldemar Brodkorb
2015-01-07 19:50 ` Felix Janda
1 sibling, 0 replies; 4+ messages in thread
From: Waldemar Brodkorb @ 2015-01-07 16:02 UTC (permalink / raw)
To: musl
Hi,
u-wsnj@aetey.se wrote,
> Hello,
>
> The background: a purely musl-based environment.
>
> I am trying to compile elfutils
> https://fedorahosted.org/elfutils/
> They are said to be necessary for building certain xorg drivers.
>
> Unfortunately the package uses the argp* interface, includes <argp.h>
> in many places.
>
> There are some musl-compatibility patches for elfutils
> (https://github.com/openwrt/packages/tree/master/libs/elfutils/patches)
> but they do not seem to address this issue - they possibly suffice
> on systems which also have glibc and hence the expected includes in the
> "system" directories.
>
> Is anybody aware of sufficent stubs for this gnu-specific interface?
>
> There is "gnulib" but it is a very heavyweight tool for such a purpose,
> it enforces the use of and coordination with the whole auto* suite
> and is meant to be used by the upstream developers rather than at
> deployment builds.
>
> Any suggestions?
May be this one:
http://lists.uclibc.org/pipermail/uclibc/2010-November/044521.html
It is not highly integrated into uClibc.
best regards
Waldemar
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: an alternative implementaton of the glibc-specific argp* interface?
2015-01-07 14:59 an alternative implementaton of the glibc-specific argp* interface? u-wsnj
2015-01-07 16:02 ` Waldemar Brodkorb
@ 2015-01-07 19:50 ` Felix Janda
2015-01-08 8:41 ` u-wsnj
1 sibling, 1 reply; 4+ messages in thread
From: Felix Janda @ 2015-01-07 19:50 UTC (permalink / raw)
To: musl
argp-standalone from
http://www.lysator.liu.se/~nisse/misc/
seems to be the standard replacement for argp. (It's used by BSDs,
sabotage, alpine, gentoo, ...) It's a portable version of the glibc
implementation.
Felix
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: an alternative implementaton of the glibc-specific argp* interface?
2015-01-07 19:50 ` Felix Janda
@ 2015-01-08 8:41 ` u-wsnj
0 siblings, 0 replies; 4+ messages in thread
From: u-wsnj @ 2015-01-08 8:41 UTC (permalink / raw)
To: musl
On Wed, Jan 07, 2015 at 08:50:12PM +0100, Felix Janda wrote:
> argp-standalone from
>
> http://www.lysator.liu.se/~nisse/misc/
>
> seems to be the standard replacement for argp. (It's used by BSDs,
> sabotage, alpine, gentoo, ...) It's a portable version of the glibc
> implementation.
Oh. Thanks. This is exactly what I was looking for.
A search for "argp standalone" would have given the answer at once
but somehow I didn't ask for this combination.
Rune
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-08 8:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-07 14:59 an alternative implementaton of the glibc-specific argp* interface? u-wsnj
2015-01-07 16:02 ` Waldemar Brodkorb
2015-01-07 19:50 ` Felix Janda
2015-01-08 8:41 ` u-wsnj
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).