I just compiled mg statically and put it in /bin, which is rather
simple:

Add 'LDFLAGS+=-static' somewhere in the makefile with your
favourite editor. And then run:

$ make
$ strip mg
$ ldd mg
$ ls -l mg
$ sudo install mg /bin/mg

400kb! that barely larger than a dynamic vi :-)



# Han

Reply via email to