[dev] Re: Stali RC

From: Christian Neukirchen <chneukirchen_AT_gmail.com>
Date: Fri, 02 Oct 2015 16:59:57 +0200

FRIGN <dev_AT_frign.de> writes:

> On Fri, 2 Oct 2015 14:21:57 +0000 (UTC)
> Richard <r_j_humphreys_AT_yahoo.co.uk> wrote:
> Hey Richard,
>> - looking further ahead; has there been any thoughts towards a
>> staticallylinked/musl-based X11 server? Is it feasible to simply take
>> the xorg sources and compile those with static linking or does that
>> not work (or would it be philosophically incompatible)? suckless obviously
>> has some useful tools like 'st' and 'dmenu' ready to go once X11 is
>> available. I ask because the finest browser ever written is obviously
>> 'surf', but worryingly surf depends on webkitgtk; which depends on gtk;
>> which in turn might lead back to glibc,glib etc.
> This is not possible, as the xserver uses dlopen(3). You can't use
> dlopen in a statically linked application.

You can use kdrive if you insist on static linking.

> The status of compiling the xserver with a dynamically linked musl
> is unknown to me.

Works fine on Void and Alpine.

(Statically linking X11 apps results in massively bloated binaries,
I can't recommend it.)

Christian Neukirchen  <chneukirchen_AT_gmail.com>  http://chneukirchen.org
Received on Fri Oct 02 2015 - 16:59:57 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 02 2015 - 17:12:08 CEST