| delorie.com/archives/browse.cgi | search |
| From: | jlrubin AT bway DOT net (Josh Rubin) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Possible cause for "gcc just hangs" |
| Date: | Wed, 03 Jun 1998 23:43:47 GMT |
| Organization: | ISPNews http://ispnews.com |
| Lines: | 27 |
| Message-ID: | <3575df39.52013@news1.bway.net> |
| NNTP-Posting-Host: | dial-iris-18.bway.net |
| Mime-Version: | 1.0 |
| NNTP-Posting-Date: | 3 Jun 1998 23:43:52 GMT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Recently there have been reports of djgpp programs
that "just hang". I found a way to duplicate this
behavior by undefining the DJGPP environment variable.
Try this out with DOS and CWSDPMI (not a Windows dos box).
I have a full 2.81 distribution.
> ver
4DOS 5.0 DOS 6.20
> set djgpp=
> gcc -v
Nothing appears to happen, but paging will start
in about 10 seconds. Watch your disk light.
> ^C
You will get a SIGABRT message.
> cd \
> undelete cwsdpmi.swp
The swap file C:\CWSDPMI.SWP contains many repetitions of
the string "$DJDIR/lib/gcc-lib/". Something is getting into
a loop and filling up memory.
Josh Rubin
jlrubin AT bway DOT net
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |