Message-ID: <3BAAB681.9A6956E9@yahoo.com.NOSPAM> From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiler errors and other esoteric things. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 63 Date: Fri, 21 Sep 2001 04:21:12 GMT NNTP-Posting-Host: 12.90.167.69 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1001046072 12.90.167.69 (Fri, 21 Sep 2001 04:21:12 GMT) NNTP-Posting-Date: Fri, 21 Sep 2001 04:21:12 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Socrates888, the Bartender" wrote: > > 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% ----> c:\djgpp\bin;%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 The above *may* bring it to life. -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net) (Remove "XXXX" from reply address. yahoo works unmodified) mailto:uce AT ftc DOT gov (for spambots to harvest)