Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mit-eddie!CRVAX.SRI.COM!CASETEK From: CASETEK@CRVAX.SRI.COM Newsgroups: comp.emacs Subject: (none) Message-ID: <8704211646.AA26077@EDDIE.MIT.EDU> Date: Tue, 21-Apr-87 12:52:11 EST Article-I.D.: EDDIE.8704211646.AA26077 Posted: Tue Apr 21 12:52:11 1987 Date-Received: Wed, 22-Apr-87 03:47:32 EST Sender: uucp@eddie.MIT.EDU Reply-To: Lines: 35 Those of you using GNU Emacs on Sun workstations under 3.2 may be interested in reducing memory utilization in the emacstool via the Sun toolmerge facility. The technique is described in the Release 3.2 Manual starting on page 71. The following is a summary of how it would apply to merging emacstool into the basetools. 1) Change the main procedure declaration in emacstool.c to: #ifdef SUN_TOOLMERGE emacstool_main (argc, argv); #else main (argc, argv) #endif This will allow creation of either standard or toolmerge versions. 2) Copy emacstool.o into directory /usr/src/sun/suntool. 3) make CFLAGS="-g -DSUN_TOOLMERGE" emacstool.o 4) Add the following line to basetools.h "emacstool",emacstool_main, 5) Add the following line to toolmerge.c. extern emacstool_main(); 6) make basetools MOREOBJS="emacstool.o" 7) make install_bins To invoke the toolmerged version, you must exit suntools and re-start it. Make sure that /usr/bin occurs before the directory in which you installed the standard (non-toolmerged) version.