Mail Archives: djgpp/1993/04/03/16:30:54
Sorry if this is a FAQ but the docs don't seem to mention it...
My system: 486/33 running DOS 5.0, 120MB HD, 8 MB ram if it matters.
What I did: created c:\gcc, copied DJDEV109.ZIP, DJGCC222.ZIP and
DJGAS138.ZIP into it, unZIP'd them, and removed the .ZIP files.
Everything looked good. Read docs, modified autoexec.bat file as req'd.
Now to try out a sample program. Here's what I tried in detail:
C:\>cd gcc\samples\compress
c:\GCC\SAMPLES\COMPRESS>gcc -O compress.c
/gcc/bin/bcc.exe Copyright (C) 1991 DJ Delorie
Can't open file (-O)
C:\GCC\SAMPLES\COMPRESSgcc compress.c
/gcc/bin/gcc.exe Copyright (C) 1991 DJ Delorie
Unknown file type 0x2a2f (025057)
(This is typed in from a printout, it's "C:\GCC..." and "/gcc/bin/gcc.exe..."
but you get the idea. The errors as shown were what appeared on screen.)
Obviously gcc is not getting the command-line parameters passed to it
correctly, but why? Thanks for any assistance.
John Beale (beale AT jumpjibe DOT stanford DOT edu)
- Raw text -