Mail Archives: djgpp/1994/07/26/18:39:02
On the subject of GCC not doing anything - which I posted about yesterday.
On Tue, 26 Jul 1994, Stephen Turnbull wrote:
> We really could use a little more information.
> (1) Have you tried rebooting? Does the machine hang or can you
> kill GCC with ^C or Ctrl-Break?
I've tried warm boots and hard boots.
> (2) Have you changed any environment variables?
Not for a month or so and I've been compiling up until yesterday.
> (3) Which programs actually get executed? GCC? CPP? CC1?
I call gcc explicity, it seems to call cpp (it gets done with all the
include stuff), but cc1 is never executed.
> (4) What is your FILES= in CONFIG.SYS?
FILES=30
> (5) Any recent changes to AUTOEXEC.BAT or CONFIG.SYS?
Again, not for a month or so.
> (6) Problem with "test.c" only, or all programs?
All programs - even ones that I have compiled 50 times over without even
a warning. It doesn't quit with an error or anything, it just quits. It
also cleans up after itself - I can't find a single temp file anywhere.
> If you're really at a loss, try giving a complete transcript of
> what happens.
Okay. I type "gcc test.c -lm -lpc -v -O" and I get this and nothing
but this:
Reading specs from c:/language/gcc/lib/specs
gcc version 2.5.7
c:/language/gcc/bin/cpp.exe -lang-c -v -undef -D__GNUC__=2
-D__GNUC_MINOR__=5 -Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__
-D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__MSDOS
-D__OPTIMIZE__ test.c D:/cc000083
GNU CPP version 2.5.7 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
c:/language/gcc/include
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.5.7/include
/usr/include
End of search list.
[end of log]
Here's my Autoexec.bat:
@ECHO OFF
CLS
PROMPT $t$_$p$g
PATH C:\LANGUAGE\GCC\BIN;C:\BATCH;C:\UTILS;C:\;C:\DOS;C:\WINDOWS... etc.
C:\UTILS\256KEYS /* this is a 256 keypress buffer */
SET HLP=C:\LANGUAGE\HELP
LH C:\LANGUAGE\HELP\HELPTSR /1 /* general help tsr */
LH C:\DOS\MOUSE
LH C:\DOS\DOSKEY
LH C:\DOS\FASTOPEN C: D:
LH C:\DOS\SMARTDRV.EXE
SUBST E: C:\LANGUAGE\GCC /* I've got it in /language/gcc, not /djgpp */
SUBST F: C:\COMM\DOWNLOAD
SET TEMP=D: /* this is the ramdrive */
SET TMP=D:
REM this is for the modem
SET DMODEM=C:\DMODEM
C:\DMODEM\DL DATA144C.CAR
REM this is for DJGPP
CALL C:\LANGUAGE\GCC\BIN\SETDJGPP c:/language/gcc c:\language\gcc
SET TMPDIR=D:
SET GO32TMP=c:/temp
SET COMPILER_PATH=c:/language/gcc/bin
SET LIBRARY_PATH=c:/language/gcc/lib
SET INCLUDE_PATH=c:/language/gcc/include
SET GO32=emu c:/language/gcc/bin/emu387 2r1
CLS
And this is config.sys:
DEVICE=C:\DOS\HIMEM.SYS
DEVICEHIGH=C:\DOS\EMM386.EXE HIGHSCAN I=E800-EFFF 2048 RAM
DEVICEHIGH=C:\DOS\RAMDRIVE.SYS 512 512 /E
SHELL=C:\DOS\COMMAND.COM C:\DOS /P /E:2048
BUFFERS=30,0
FILES=30
DOS=HIGH
DOS=UMB
FCBS=4,0
STACKS=9,256
- Raw text -