mc and embedded lib.

Miguel de Icaza miguel at novell.com
Thu Feb 5 22:58:22 UTC 2009


Hello guys,

    As we discussed on the mc-devel channel today, here is a patch that
allows Midnight Commander to be built with the lightweight Embedded glib
implementation, the patch is against the mc-4.6.2-pre1 release.

    It is a proof of concept, as I hardcoded the location in my disk
where I have installed eglib, but the result is a fully functional mc:

mono$ ldd /tmp/eglib/bin/mc
	linux-gate.so.1 =>  (0xffffe000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0xb7fd4000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0xb7fba000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb7e99000)
	libext2fs.so.2 => /lib/libext2fs.so.2 (0xb7e74000)
	libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7e70000)
	libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb7e68000)
	libc.so.6 => /lib/libc.so.6 (0xb7d25000)
	libm.so.6 => /lib/libm.so.6 (0xb7cff000)
	libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7cfc000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7ce3000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7cdf000)
	/lib/ld-linux.so.2 (0xb7fff000)
	libncurses.so.5 => /lib/libncurses.so.5 (0xb7ca7000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb7ca3000)
mono$ ls -l /tmp/eglib/bin/mc
-rwxr-xr-x 1 miguel users 2203175 2009-02-05 17:45 /tmp/eglib/bin/mc*

It is also necessary to bundle gtree.c and gnode.c for the mc/editor in
that case. 

Miguel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eglib.support.patch
Type: text/x-patch
Size: 6531 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20090205/c490f94a/attachment.bin>


More information about the mc-devel mailing list