Mail Archives: djgpp/1997/01/22/05:47:16
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
: On Sun, 19 Jan 1997, Brian Zaugg wrote:
: > Anyway, then I rename the cwsdpmi files that allowed me to run gcc so
: > that they won't be in the way, and run my program:
: > >who
: > Program too big to fit in memory.
: That's because you just effectively copied who into who.exe. Since who is
: raw COFF image, DOS doesn't know how to run it, so it tries to interpret
: its beginning as a COM program (because it doesn't have the MZ signature),
: with obvious results.
One other thing I found when playing with PMODE/DJ the other day. I was
seeing if it would work with my Cheezy Asteroids Clone, with Allegro and
everything built in. I found that if you stripped the COFF image (I
imagine the same would happen with gcc -s, but I didn't try it), and then
copy /B'ed it with pmodestub it didn't run with a "Program to big..."
message, but when I recompiled and DIDN'T strip it, it worked just fine.
Maybe Brian should try that and see if it works.
hope that helps,
jon
--
jon klippenstein internet: klip AT cryogen DOT com
uucp: alberta!ve6kik!dparrot!{root,klip}
ham radio: ve6klp
- Raw text -