On Sat, Mar 4, 2023 at 11:10 PM Ian Smith <smi...@nimnet.asn.au> wrote: > > On 2 March 2023 6:50:13 pm AEDT, Mel Pilgrim <list_free...@bluerosetech.com> > wrote: > > I need to determine the ABI string pkg uses on a given system, and > > need to do so when there are no pkgs installed. > > # pkg -N -vv | grep ABI > > gets you ABI and ALTABI; the former is the amd64 form, the latter x86:64 >
Note the more concising spelling of this if you know the names (or need it for, say, scripting): # pkg config ABI # pkg config ALTABI Thanks, Kyle Evans