Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2023 12:56:01 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Mel Pilgrim <list_freebsd@bluerosetech.com>
Cc:        ports@freebsd.org
Subject:   Re: How do I determine the ABI string used by pkg?
Message-ID:  <PSAPR03MB563917320975B946E772C8F3FAB49@PSAPR03MB5639.apcprd03.prod.outlook.com>
In-Reply-To: <e21a76b6-8f91-754e-d655-9f469ecc28f1@bluerosetech.com>
References:  <32d2e376-3f89-0588-316d-801d4cbf0b44@bluerosetech.com> <20230306075622.xfzs33fmflc2vmtb@aniel.nours.eu> <257260d9-1812-3ce5-5d9a-907e2b1ec13e@langille.org> <e21a76b6-8f91-754e-d655-9f469ecc28f1@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

static struct arch_trans machine_arch_translation[] = {
        { "x86:32", "i386" },
        { "x86:64", "amd64" },
        { "powerpc:32:eb", "powerpc" },
        { "powerpc:64:eb", "powerpc64" },
        { "powerpc:64:el", "powerpc64le" },
        { "sparc64:64", "sparc64" },
        { "ia64:64", "ia64" },
        /* All the ARM stuff */
        { "arm:32:el:eabi:softfp", "arm" },
        { "arm:32:el:oabi:softfp", "arm" },
(omitted below)

Regards.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAPR03MB563917320975B946E772C8F3FAB49>