Mail Archives: djgpp/1997/12/09/03:31:54
From: | "THELOUDS" <THELOUDS AT prodigy DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | can compile
|
Date: | 9 Dec 1997 03:43:05 GMT
|
Organization: | Prodigy Services Corp
|
Lines: | 44
|
Message-ID: | <01bd0454$309e8120$0aa0edcc@default>
|
NNTP-Posting-Host: | port10.chin.prodigy.net
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
*** Environment Set as Follows
TMP=C:\WINDOWS\TEMP
WINBOOTDIR=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
WINPMT=$P$G
PATH=C:\UTILITY;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DJGPP\BIN
DJGPP=C:\DJGPP.ENV
DIRCMD=/O
TEMP=C:\PBTOOLS\WINTEMP
PROMPT=[WINDOWS] $P$G
SOUND=C:\PBAUDIO
windir=C:\WINDOWS
BLASTER=A220 I5 D3
CMDLINE=go32-v2
*** Execution of GO32-V2
go32/v2 version 2.0 built Aug 12 1996 22:27:23
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 your 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: 11859 Kb
DPMI swap space available: 1437 Kb
*** Here's what happens
1) The first time I tried to compile: gcc hello.c -o hello.exe
I got the following response:
"C:\DJGPP\BIN/ld.exe: cannot open crt0.o: No such file or directory"
My go around was to a) copy crt0.o from the LIB directory and
b) set C:\DJGPP\LIB to my path.
But then I tried ...
2) a compilation: "gcc hello.c -o hello.exe"
got "C:\DJGPP\BIN/ld.exe cannot open -lgcc option: File format not
recognized"
- Raw text -