view admin/nt/dump.bat @ 108200:e30aff0bf9d5

Emulate POSIX_SIGNALS on MS-Windows. w32.c (sigemptyset, sigaddset, sigfillset, sigprocmask): New stubs. sysdep.c (sys_signal) [WINDOWSNT]: #ifdef away. (wait_for_termination) [WINDOWSNT]: Move MS-Windows specific code from non-POSIX_SIGNALS section to POSIX_SIGNALS section. s/ms-w32.h (POSIX_SIGNALS, struct sigaction, SIG_BLOCK) (SIG_SETMASK, SIG_UNBLOCK): Define.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 01 May 2010 21:28:00 +0300
parents c4c2d8a98a03
children ef719132ddfa
line wrap: on
line source

@echo off
rem  Run temacs.exe to recreate the dumped emacs.exe.
rem  This is only likely to be useful on systems where the prebuilt
rem  emacs.exe crashes on startup.

rem First save original emacs.exe if present
if exist emacs.exe.orig goto dump
echo Saving original emacs.exe as emacs.exe.orig
ren emacs.exe emacs.exe.orig

:dump
rem Overwrites emacs.exe if still present
mkdir obj
mkdir obj\i386
mkdir obj\etc
copy ..\etc\DOC* obj\etc
copy temacs.exe obj\i386
obj\i386\temacs -batch -l loadup dump
copy obj\i386\emacs.exe .

goto skipArchTag
   arch-tag: 0ca3036d-3a1e-47ea-87c6-9c0845253496
:skipArchTag