public inbox for nncp-devel@lists.stargrave.org
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: nncp-devel@lists.cypherpunks.su
Subject: Re: Single combined executable
Date: Fri, 19 Sep 2025 17:02:31 +0300	[thread overview]
Message-ID: <aM1id3FGQnFmeNC2@stargrave.org> (raw)
In-Reply-To: <CAO-d-4o1gAqA81TFzP=xRYPeVOripGJD_R6AN_r5KGN98YGMFQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

*** Eugene Medvedev [2025-09-19 16:47]:
>That would greatly simplify getting it into Termux repo, too. Right now
>the 48Mb package I'm getting is a turnoff for them.

Well, that is the price of static linking and a quantity of executables.
Currently I got the following sizes:

    $ ./build
    $ stat -f "%z" bin/nncp
    18953978

    $ GO_LDFLAGS=-s ./build
    $ stat -f "%z" bin/nncp
    13304110

    $ GO_CFLAGS="-tags noyggdrasil" GO_LDFLAGS=-s ./build
    $ stat -f "%z" bin/nncp
    5779758

-- 
Sergey Matveev (http://www.stargrave.org/)
LibrePGP: 12AD 3268 9C66 0D42 6967  FD75 CB82 0563 2107 AD8A

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 265 bytes --]

  reply	other threads:[~2025-09-19 14:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-19 13:31 Single combined executable Sergey Matveev
2025-09-19 13:47 ` Eugene Medvedev
2025-09-19 14:02   ` Sergey Matveev [this message]
2025-09-19 18:14 ` John Goerzen
2025-09-19 18:47   ` Sergey Matveev