[dev] Re: [dwm][dmenu] How to get static linked binaries for dwm and dmenu?

From: Christian Neukirchen <chneukirchen_AT_gmail.com>
Date: Sun, 13 Nov 2011 18:15:09 +0100

Anselm R Garbe <garbeam_AT_gmail.com> writes:

> On 13 November 2011 17:02, Christian Neukirchen <chneukirchen_AT_gmail.com> wrote:
>> Anselm R Garbe <garbeam_AT_gmail.com> writes:
>>
>>> You will need a static build of xorg's xlib. The last xorg version
>>> that produced a static xlib that could be used for this task was xorg
>>> 6.9 afair. Please let me know if you succeed in disproving this.
>>
>> I did a static build of X.org HEAD as of July 2011 and had statically
>> built utils there.
>
> Well, but does your libXlib.a requires libdl?

No; the system didn't have a dynamic linker at all.
(And yes, the Xorg server requires dynamic linking. Kdrive does not.)

Also, the binaries get very big. :)

> Cheers,
> Anselm
-- 
Christian Neukirchen  <chneukirchen_AT_gmail.com>  http://chneukirchen.org
Received on Sun Nov 13 2011 - 18:15:09 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 13 2011 - 18:24:05 CET