"This editor is a simple, but powerful editor to run under XWindows. It features an intuitive user surface with mouse support, multiple file editing, formatting service and makros."
Besides that it screams for some visual styling...
Download and unpack the source. Running make gives the following error:
/usr/lib/gcc/i486-t2-linux-gnu/4.2.2/../../../../i486-t2-linux-gnu/bin/ld: cannot find -lX11
Change CFFLAGS-line in makefile to:
Code: Select all
CFLAGS=-Wall -DBLACK0 -DNOIBM -I/usr/include/X11 -L/usr/X11/lib -lX11
Now it works. Stripped binary is 77K with this modest dependency list:
libX11, libc, libXau, libXdmcp and libdl.
The make file does not respond to "make clean". You have to delete files manually or add the following in the end of the makefile:
Code: Select all
clean:
rm -f xredit *.o
Lets make the binary smaller. Change CC-line in makefile to:
Code: Select all
CC=gcc -Os -mtune=i386
We could knock of another 1k by using sstrip
Anyone know how to make it smaller or how to compile with Xau and Xdmcp as static libs?