help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs for sites with different operating systems and CVS.


From: Eli Zaretskii
Subject: Re: Emacs for sites with different operating systems and CVS.
Date: Wed, 28 May 2003 07:48:03 +0300

> From: Galen Boyer <address@hidden>
> Newsgroups: gnu.emacs.help
> Date: 27 May 2003 23:05:18 -0500
> 
> When maintaining Emacs for a site where users are on different
> platforms, should you
> 
>   Check in compiled code for each platform?
>   Check in source and give them the scripts to build for each platform?
>   Check in the tar file and let them untar to their directories while
>   just maintaining external packages?
> 
> I think the second option, but then why is there, seemingly, a specific
> source tree for the windows Emacs?

Because Windows users are used to get pre-compiled binaries.  The main
reason for this is that Windows systems normally don't have a compiler
installed on them, so most Windows users cannot themselves build
Emacs.

OTOH, with the proliferation of Unix systems where the compiler is an
optional product not installed by default, perhaps the Unix version
should be a binary as well.

> Are there different steps because
> there are special files and such which therefore make it difficult to
> build windows from the same source as Linux as ...

The main issue to figure out is how to install Emacs so that it will
find all its files.  Emacs (as well as other GNU packages) has the
names of the directories where to find files hard-coded into it.  The
configure script takes care of creating a header file where those
directories are spelled out, as determined by the configuration
procedure.  So the pre-compiled binary expects its Lisp, Info,
subprograms (such as etags), and other auxiliary files to be in
certain places; you must make sure that these directories exist on the
target system and the files Emacs looks for are in those directories.
(Of course, the usual Unix tricks with symlinks can help you out.)
Either that, or make sure that environment variables which override
the default locations of these files are all set appropriately on the
target system.

> Is there anyplace I can go to know what I should do to build Emacs from
> one source for multiple platforms, or do I dig through all of the notes
> and such in the etc directory.
> 
> Are there any manuals and howtos as well as FAQs for site-admins?

I don't know of any docs about this, but the above kinda summarizes it
all.  Feel free to ask more, though.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]