Mail Archives: djgpp/1998/01/13/03:49:32
On Mon, 12 Jan 1998, Jack H. Ostroff wrote:
> Is there any hope of compiling Emacs on a PC to run under X (locally)?
> I am running Hummingbird Exceed as my X Server, and have the latest
> DJGPP installed.
You will need your X libraries to be compatible with DJGPP. (If you
have such a library in binary form ready to lionk, please tell me its
name and where it can be obtained.) If you have such a library, you
should be able to configure and build Emacs with X support. Type
"config --with-x" to configure Emacs for X support; then type "make
install" when config.bat finishes to build the program and install it.
> I have the X source, and am willing to recode around short filename
> problems, but I am not even sure what platform I should tell it I have.
Does it have some auto-configuration option? If it does, try using
it. If not, you will have to see which configuration fits DJGPP best,
or post the list of supported configurations and ask for directions.
I'd guess building X with DJGPP will not be easy, since the low-level
graphics on Unix is very different from the way MS-DOS/MS-Windows do
it.
As an aside, you might rethink whether you actually need the X support
that badly. Unless you are looking for an interesting (and I would
assume sufficiently hard) project, I think you will be far better off
using Emacs compiled for MS-DOS. It does have some support
specifically designed for Windows (e.g., it supports the Windows
clipboard), and mouse, menus, and color highlighting are also
supported. So you will probably only miss things like variable fonts
and multiple non-overlapping frames. (The former functionality is
emulated by using different colors for attributes such as bold and
italic, and when I need the latter I usually launch more than one
Emacs session.)
- Raw text -