FRIGN <d...@frign.de> writes:

> On Fri, 2 Oct 2015 14:21:57 +0000 (UTC)
> Richard <r_j_humphr...@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  <chneukirc...@gmail.com>  http://chneukirchen.org


Reply via email to