Mail Archives: djgpp/1997/12/08/22:55:11
*** 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 -