emacs/msdos
Po Lu c22957c4bf Port to modern GCC and pdumper on MS-DOS
* config.bat (mvOk): Protoize.
(djgppOk): Include sys/version.h for _DJGPP_MINOR.

* lisp/loadup.el: If system-type is ms-dos, dump bootstrap-emacs
as b-emacs.dmp.

* msdos/INSTALL: Document new versions of tools that have been
verified successfully to compile Emacs.

* msdos/emacs.djl: New linker script that arranges to link
symbols in `.subrs' in a contiguous part of data, as the DJGPP
runtime appears to treat any non-data and non-text section as
allocatable.

* msdos/mainmake.v2 (install): Install emacs.dmp alongside
emacs.exe.

* msdos/sed1v2.inp (CFLAGS): Define to -O2 -g3.
(LDFLAGS): Provide the said linker script.
(HAVE_PDUMPER): Define to yes.
(UNEXEC_OBJ, PAXCTL_dumped, PAXCTL_notdumped): Delete.
(DUMPING): Set to pdumper.
(MAKE_PDUMPER_FINGERPRINT): Don't erase this variable.
Don't stubify or set minstack.  Remove native-comp specific
directives.  Don't remove temacs prior to copying and replace
`pdmp' extension with DOS-conformant `dmp'.

* msdos/sed2v2.inp (HAVE_UNEXEC): Remove definition.
(HAVE_PDUMPER): Define to 1.

* msdos/sed6.inp (top_srcdir): Define appropriately.

* msdos/sedlibmk.inp (HAVE_BLKCNT_T): Define to 1.

* src/emacs.c (load_pdump) [MSDOS]: Use `dmp' suffix.

* src/pdumper.c (Fdump_emacs_portable) [MSDOS]: Replace ".pdmp"
suffixes with ".dmp".
2025-02-20 14:04:59 +08:00
..
autogen Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
ChangeLog.1 Update copyright year to 2025 2025-01-01 07:39:17 +00:00
INSTALL Port to modern GCC and pdumper on MS-DOS 2025-02-20 14:04:59 +08:00
README Update copyright year to 2025 2025-01-01 07:39:17 +00:00
depfiles.bat Fix copyright years by hand 2025-01-01 07:41:51 +00:00
emacs.djl Port to modern GCC and pdumper on MS-DOS 2025-02-20 14:04:59 +08:00
emacs.ico
emacs.pif
inttypes.h Update copyright year to 2025 2025-01-01 07:39:17 +00:00
langinfo.h Update copyright year to 2025 2025-01-01 07:39:17 +00:00
mainmake.v2 Port to modern GCC and pdumper on MS-DOS 2025-02-20 14:04:59 +08:00
sed1v2.inp Port to modern GCC and pdumper on MS-DOS 2025-02-20 14:04:59 +08:00
sed1x.inp Update copyright year to 2025 2025-01-01 07:39:17 +00:00
sed2v2.inp Port to modern GCC and pdumper on MS-DOS 2025-02-20 14:04:59 +08:00
sed2x.inp Update copyright year to 2025 2025-01-01 07:39:17 +00:00
sed3v2.inp Update copyright year to 2025 2025-01-01 07:39:17 +00:00
sed3x.inp
sed4.inp Update copyright year to 2025 2025-01-01 07:39:17 +00:00
sed5x.inp Update copyright year to 2025 2025-01-01 07:39:17 +00:00
sed6.inp Port to modern GCC and pdumper on MS-DOS 2025-02-20 14:04:59 +08:00
sedadmin.inp Update copyright year to 2025 2025-01-01 07:39:17 +00:00
sedalloc.inp Update copyright year to 2025 2025-01-01 07:39:17 +00:00
sedleim.inp Update copyright year to 2025 2025-01-01 07:39:17 +00:00
sedlibcf.inp Update copyright year to 2025 2025-01-01 07:39:17 +00:00
sedlibmk.inp Port to modern GCC and pdumper on MS-DOS 2025-02-20 14:04:59 +08:00
sedlisp.inp Update copyright year to 2025 2025-01-01 07:39:17 +00:00

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2025 Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains scripts for building the DJGPP (a.k.a. MS-DOS)
version of Emacs, and other files useful for running that version of
Emacs.

The files emacs.ico and emacs.pif are for using the DJGPP version on
Windows 3.X.  Since these are binary files, their copyright notice is
reproduced here:

# Copyright (C) 2001-2025 Free Software Foundation, Inc.
#
# This file is part of GNU Emacs.
#
# This file is free software; as a special exception, the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# ----------------------------------------------------------------------


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.