delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/20/22:15:04

X-Originating-IP: [64.157.53.98]
From: "Socrates888, the Bartender" <necroq AT hotmail DOT com>
To: djgpp AT delorie DOT com
Subject: Compiler errors and other esoteric things.
Date: Thu, 20 Sep 2001 22:12:20 -0400
Mime-Version: 1.0
Message-ID: <LAW2-F38QPA3i0fJrVv0000c5fb@hotmail.com>
X-OriginalArrivalTime: 21 Sep 2001 02:12:20.0400 (UTC) FILETIME=[D81AE300:01C14242]
Reply-To: djgpp AT delorie DOT com

	Whenever I try to compile my hello.c file, the compiler spits out the error 
message below.  I typed up the programs using the DOS editor instead of 
emacs or RHIDE, if that makes a difference.  Please help!

>GO32-v2 Output
go32/v2 version 2.0 built Nov 15 1998 14:36:43
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries as 
well as v1 binaries (old makefiles).  Put ahead of the old go32 in your 
PATH, but do not delete you old go32 - leave it in the PATH after this one.  
SET GO32_V2_DEBUG=y in the environment to get verbose output.

DPMI memory available: 22251 KB
DPMI swap space available: 7345 KB

>environ.txt
TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
DJGPP=C:\djgpp\djgpp.env
PATH=C:\DJGPP;C:\WINDOWS;C:\WINDOWS\COMMAND
windir=C:\WINDOWS
BLASTER=A220 I5 D1

>AUTOEXEC.BAT
set DJGPP=C:\djgpp\djgpp.env
set PATH=C:\djgpp;%PATH%

>CONFIG.SYS
(None)

>Compiler Error Output
Using builtin specs.
gcc version 2.8.1
cpp -lang-c -v -undef -D__GNUC__+2 -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 
-DMSDOS -DDJGPP=2 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 
-D__UNIX -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 hello.c 
C:\WINDOWS\TEMP\ccail2wk
GNU CPP version 2.8.1 (80386, BSD syntax)
#include "..." search starts here:
End of search list.
  cc1 C:\WINDOWS\TEMP\ccail2wk -quiet -dumpbase hello.c -version -o 
C:\WINDOWS\TEMP\ccbil2wk
GNU C version 2.8.1 (djgpp) compiled by GNU version 2.8.1
  as -o C:\WINDOWS\TEMP\cccil2wk C:\WINDOWS\TEMP\ccbil2wk
  ld crtf.o crt0.o C:\WINDOWS\TEMP\cccil2wk -lgcc -lc -lgcc -Tdjgpp.djl
ld.exe: cannot open -lgcc: File format not recognized

-Ricky Gonzalez


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

- Raw text -


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