]> code.delx.au - gnu-emacs/commitdiff
With DJGPP v1.x, use `COFF2EXE' to produce JUNK.EXE test program.
authorRichard M. Stallman <rms@gnu.org>
Sun, 14 Apr 1996 17:28:05 +0000 (17:28 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 14 Apr 1996 17:28:05 +0000 (17:28 +0000)
config.bat

index dee6f7594bd23d756645dc468c25e579c057a211..cf3fa8c9bafa5553065b94fe4052c8b4a2bdba71 100644 (file)
@@ -89,7 +89,7 @@ Echo To configure 'Emacs' you need to have 'gcc'!
 rm -f junk.c\r
 Goto End\r
 :gccOk\r
-rm -f junk.c junk.o\r
+rm -f junk.c junk.o junk junk.exe\r
 Echo Checking what version of DJGPP is installed...\r
 If Not "%DJGPP%" == "" goto djgppOk\r
 Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed!\r
@@ -105,7 +105,8 @@ echo #else               >>junk.c
 echo {return 0;}         >>junk.c\r
 echo #endif              >>junk.c\r
 echo #endif              >>junk.c\r
-gcc -o junk.exe junk.c\r
+gcc -o junk junk.c\r
+if not exist junk.exe coff2exe junk\r
 junk\r
 If ErrorLevel 10 Goto go32Ok\r
 rm -f junk.c junk junk.exe\r