Re: How do I determine the ABI string used by pkg?

From: Kyle Evans <>
Date: Wed, 08 Mar 2023 06:35:27 UTC
On Tue, Mar 7, 2023 at 11:34 PM Mel Pilgrim
<> wrote:
> On 2023-03-07 19:56, Tatsuki Makino wrote:
> > Hello.
> >
> > Are you still saying that you are creating another program that does not rely on the pkg command?
> > Then again, let's look at elf_tables.h.
> > It would be necessary to have such a conversion table.
> Yeah basically.  It pulls the pkg source as a build dependency and
> includes what it needs from there.  It's a hack, though.  All that's
> needed to obviate it entirely would be for the unbootstrapped `pkg -N
> -vv` to have functional parity with its bootstrapped counterpart, and
> that's slated for my next pet-project time slot.

For the giggles, I implemented[0] a `pkg -N config` that allows
executing the equivalent of pkg-config(8), but for the bootstrap. It
has a caveat that the bootstrap doesn't actually know about ALTABI,
and it can't currently dump the UCL object entries (list/object). It's
not really how -N was intended to be used at all, but maybe bapt has a
better idea for exposing it (I kind of like the general idea, even if
not this exact way to invoke it).


Kyle Evans