Paul Onyschuk <bl...@bojary.koba.pl> writes: > On Tue, 14 Feb 2012 22:30:05 +0100 > Christian Neukirchen wrote: > >> >> Last time I checked (6 months ago perhaps), it was not possible to >> build a full Xorg server without dynamic linking. Only TinyX works. >> >> The clients are no problem, they just get very fat. >> > > Do you remember what was the issue (build or run time)? I've > everything beside xkeyboard-config compiled (XML::Parser perl module > missing, but I think that should be easy to fix). You can check > pkgsrc.se [1] for dependencies of Xorg meta-package (actually it is > meta-package that uses 5 other meta-packages). > > As for xorg-server 1.6.5 itself (name of individual part provided by > X.org) it compiles with LDFLAGS+="-z muldefs", otherwise linker warns > about multiple definitions and fails.
I tried xorg-server-1.9.5, and it says in hw/xfree86/loader/dlloader.c: /* * Once upon a time, X had multiple loader backends, three of which were * essentially libdl reimplementations. This was nonsense so we chucked * it, but we still retain the factorization between loader API and * platform implementation. This file is the libdl implementation, and * currently the only backend. If you find yourself porting to a platform * without working libdl - hpux, win32, some forsaken a.out host, etc. - * make a new backend rather than hacking up this file. */ -- Christian Neukirchen <chneukirc...@gmail.com> http://chneukirchen.org