Path: utzoo!attcan!uunet!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!allosaur.cis.ohio-state.edu!bob
From: bob@allosaur.cis.ohio-state.edu (Bob Sutterfield)
Newsgroups: comp.emacs,gnu.emacs
Subject: Re: byte-compile errors in cl.el for 18.51 (really different windows)
Keywords: 18.51 byte-compile cl.el
Message-ID: <17429@tut.cis.ohio-state.edu>
Date: 9 Jul 88 18:55:30 GMT
References: <1371@turbinia.oakhill.UUCP>
Sender: root@tut.cis.ohio-state.edu
Distribution: na
Organization: The Ohio State University Dept of Computer & Information Science
Lines: 39

In article <1371@turbinia.oakhill.UUCP> abair@oakhill.UUCP (Alan Bair) writes:
>... can [I] build emacs to work under both window systems [Suntools
>and X11R2] or do I need two separate versions.  Its not clear from
>the installation docs if you can set all of the #defines at the same
>time.  As I understand I would need:
>	HAVE_SUN_WINDOWS, HAVE_X_WINDOWS & X11
>Also how big does PURESIZE need to be then?

I have one Emacs that I compiled with HAVE_SUN_WINDOWS,
HAVE_X_WINDOWS, HAVE_X_MENU, and HAVE_NEWS.  Because X10 was here
first and most folks still use it, the Emacs that can do X10 and
almost everything else is in /usr/local/bin, which is in everyone's
search path.  Its PURESIZE is a whopping 410000, which is only a
little larger than it really needs to be.  400000 might do it, but I'm
not sure.

I have another that I compiled with HAVE_X_WINDOWS, X11, and
HAVE_X_MENU.  That is with the other X11 binaries in
/usr/local/bin/X11, which only users interested in X11 put in their
search path, ahead of /usr/local/bin.  I suppose that if folks wanted
to run X11 in overview over Sutools, and still wanted the X11 binaries
in their path, I could have included HAVE_SUN_WINDOWS in this one as
well, but I don't think we have any of those types of people here.

The two Emacsen run from the same .elc files, but are two different
minor versions of 18.51.??, so thy need individual DOC-18.51.?? files
(one DOC describes X10 and NeWS stuff, the other describes X11 stuff)
that can still peaceably live in the same /usr/local/lib/emacs/etc
directory together.

For your site, you could very well define HAVE_SUN_WINDOWS,
HAVE_X_WINDOWS, and X11 with no problem at all.  You just can't (as
far as I know) run under two different protocol versions of X with the
same binary, unless you use x10tox11, but that's gross so don't even
think about it.  You'll only need one DOC file, because you'll only
have one version of Emacs running.
-=-
 Bob Sutterfield, Department of Computer and Information Science
 The Ohio State University; 2036 Neil Ave. Columbus OH USA 43210-1277
 bob@cis.ohio-state.edu or ...!{att,pyramid,killer}!cis.ohio-state.edu!bob