summaryrefslogtreecommitdiff
path: root/config.bat
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-04-14 17:28:05 +0000
committerRichard M. Stallman <rms@gnu.org>1996-04-14 17:28:05 +0000
commit8cdaacaf133d68cf0ce7d20cc84888028dd1b3b6 (patch)
treef8984c579c6c285df01dc447543deefabe5d5738 /config.bat
parent3f5b4e35ccb5666749201bf8b3ffc667c0709baf (diff)
downloademacs-8cdaacaf133d68cf0ce7d20cc84888028dd1b3b6.tar.gz
With DJGPP v1.x, use `COFF2EXE' to produce JUNK.EXE test program.
Diffstat (limited to 'config.bat')
-rw-r--r--config.bat5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.bat b/config.bat
index dee6f7594bd..cf3fa8c9baf 100644
--- a/config.bat
+++ b/config.bat
@@ -89,7 +89,7 @@ Echo To configure 'Emacs' you need to have 'gcc'!
rm -f junk.c
Goto End
:gccOk
-rm -f junk.c junk.o
+rm -f junk.c junk.o junk junk.exe
Echo Checking what version of DJGPP is installed...
If Not "%DJGPP%" == "" goto djgppOk
Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed!
@@ -105,7 +105,8 @@ echo #else >>junk.c
echo {return 0;} >>junk.c
echo #endif >>junk.c
echo #endif >>junk.c
-gcc -o junk.exe junk.c
+gcc -o junk junk.c
+if not exist junk.exe coff2exe junk
junk
If ErrorLevel 10 Goto go32Ok
rm -f junk.c junk junk.exe