[uClibc] XEmacs success

Rob McMullen robm at flipturn.org
Mon Jul 7 02:25:47 UTC 2003


Finally got XEmacs working with uClibc and X11 under a
uClibc-as-the-root-libc system: the trick is to use uClibc's malloc
instead of configure's default that selects a malloc implementation
included in XEmacs.  Trigger this with the --with-system-malloc flag
to configure.

Also, due to the ld.so issues of shared libraries not able to load
other shared libraries, I have to start XEmacs with:

LD_PRELOAD=/usr/X11R6/lib/libXrender.so xemacs

I leave out some bells and whistles here, but the configure command
that I used should get you started:

CC="gcc -Wl,-rpath-link=/usr/lib,-rpath-link=/lib" ./configure \
--with-widgets=athena --with-dialogs=athena --with-scrollbars=lucid \
--with-menubars=lucid --with-gif=yes --without-tiff --with-jpeg \
--without-xface --without-gpm --with-sound=native \
--with-database=gnudbm --with-system-malloc --prefix=/usr \
--with-ncurses --with-msw=no --mail-locking=flock \
--with-site-lisp=yes --with-site-modules=yes

Rob



More information about the uClibc mailing list