From jeremy ardley@21:1/5 to All on Sat Feb 18 03:10:01 2023
This is a multi-part message in MIME format.
I want to compile a statically linked version of gedit using the
upstream meson based package.
I've got the sources matching my current Debian 11 system and can do a
build no problem.
What I want to do is statically link the gedit executable. I see the
non-static executable is very small and there is a large library file
libgedit, and using ldd I see the executable wants to call many system libs.
Target is a single statically linked executable which incorporates
libgedit as well as parts of all the system libraries they call.
Meson doesn't obviously seem to support static linked executables.
Any suggestions?
Jeremy
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-signature">I want to compile a statically linked
version of gedit using the upstream meson based package.</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">I've got the sources matching my current
Debian 11 system and can do a build no problem.</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">What I want to do is statically link the
gedit executable. I see the non-static executable is very small
and there is a large library file libgedit, and using ldd I see
the executable wants to call many system libs.</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">Target is a single statically linked
executable which incorporates libgedit as well as parts of all the
system libraries they call.<br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">Meson doesn't obviously seem to support
static linked executables.</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">Any suggestions?<br>
<div class="moz-signature"><br>
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<font size="4" color="DarkSlateGray">Jeremy</font></div>
</div>
</body>
</html>