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
commit6097997848179da1562dec16392545157ee531c4 (patch)
treebc3d8531c30ca9fe46f32a4274ad34ad85891065 /config.bat
parent4b02b1f3e73ad49447f41c60c3d12eb1295cc9a8 (diff)
downloademacs-6097997848179da1562dec16392545157ee531c4.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