www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/04/03/16:30:54

From: beale AT jumpjibe DOT stanford DOT edu (John Beale)
Date: Sat, 3 Apr 1993 12:39:26 PST
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: help: gcc says 'unknown file type 0x2a2f (025057)'

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019