There is this topic which might help: https://mail.gnome.org/archives/mc/2016-September/msg00000.html

<https://david.leighweb.com>


------ Original Message ------
From [email protected]
To [email protected]
Date 2025-02-26 13:00:03
Subject mc Digest, Vol 29, Issue 1

Send mc mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.midnight-commander.org/mailman/listinfo/mc
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mc digest..."


Today's Topics:

   1. Re: mc as a static single executable (Alexander Demin)
   2. Re: mc as a static single executable (Yury V. Zaytsev)


----------------------------------------------------------------------

Message: 1
Date: Tue, 25 Feb 2025 13:15:17 +0100
From: Alexander Demin <[email protected]>
To: [email protected]
Subject: Re: [mc] mc as a static single executable
Message-ID:
        <CALMUAYjhroQnF=VThUOg0U2O6rdS9KD_7WFLmhGn7dXi=cu...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

This is not an original question. If there were discussions or even
decisions from the past, please point me in the right direction to read?

In short, can MC be built (or maybe there are already such builds out
there) as a 100% statically linked single binary?

Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.midnight-commander.org/pipermail/mc/attachments/20250225/c5a881fb/attachment-0001.htm>

------------------------------

Message: 2
Date: Tue, 25 Feb 2025 13:45:03 +0100
From: "Yury V. Zaytsev" <[email protected]>
To: List for Midnight Commander users
        <[email protected]>
Subject: Re: [mc] mc as a static single executable
Message-ID: <[email protected]>
Content-Type: text/plain;       charset=us-ascii


 On 25. Feb 2025, at 13:15, Alexander Demin via mc 
<[email protected]> wrote:

 This is not an original question. If there were discussions or even decisions 
from the past, please point me in the right direction to read?

https://midnight-commander.org/ticket/2129

 In short, can MC be built (or maybe there are already such builds out there) 
as a 100% statically linked single binary?

In theory, as long as you have all the dependencies (glib and slang or ncurses) 
available as static libraries, you should be able to use

  LDFLAGS=-all-static ./configure

In practice, it might be broken. Feel free to update the ticket with your 
experience.



------------------------------

Subject: Digest Footer

mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc


------------------------------

End of mc Digest, Vol 29, Issue 1
*********************************
-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc

Reply via email to