From: Sunil Rao Newsgroups: comp.os.msdos.djgpp Subject: Re: LC-Lint Date: Sun, 21 Jun 1998 17:46:52 +0100 Organization: Sunil Rao's Wonder Machine Distribution: world Message-ID: References: <7QNDnUAwl9i1EwKS AT raos DOT demon DOT co DOT uk> NNTP-Posting-Host: raos.demon.co.uk MIME-Version: 1.0 Lines: 75 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eli Zaretskii wrote, and I reply... >On Sat, 20 Jun 1998, Sunil Rao wrote: > >> >> Headers/exprNode.h:277: virtual memory exhausted >[snip] >> DPMI memory available: 12311 Kb >> DPMI swap space available: 0 Kb > >That is your real problem, and GCC clearly tells you so. You're right. it disappeared when i set my virtual memory higher in the PIF file. thanks! and it compiled all right - all 120 source files! i did have to hack another one of the makefiles to make it LINK properly though... it was trying to use -ll instead of -lfl for flex... IN SPITE OF the configure script supposedly already having checked for it! but it still doesn't work! it's complaining about uninitialised environment variables. when i try it on "hello, world"... bash$ set LARCH_PATH = c:/djgpp/lclint-2.4/lib/ LCLIMPORTDIR = c:/djgpp/lclint-2.4/imports/ SYSTEMDIRS = / bash$ lclint hello.c LCLint 2.4 --- 14 Apr 98 Cannot find standard library: ansi.lcd Check LARCH_PATH environment variable. hello.c: (in function main) hello.c:5:9: Unrecognized identifier: printf Identifier used in code has not been declared. (-unrecog will suppress message) Finished LCLint checking --- 1 code error found bash$ any ideas this time????? ansi.lcd *IS* in c:/djgpp/lclint-2.4/lib/ when i try *this*, i get... bash$ lclint -help vars LCLint 2.4 --- 14 Apr 98 LARCH_PATH = (default = .:c:/djgpp/lclint-2.4/lib/) --- path used to find larch initialization files and LSL traits LCLIMPORTDIR = --- directory containing lcl standard library files (import with < ... >) systemdirs = /usr/ (set by include envirnoment variable or -systemdirs) bash$ the variables are set in the environment - i've made sure of that! any ideas, anyone???? thanks!!! and thanks a million to all of you who came up with your wondeful suggestions!!!!! they've helped immensely!!!!!! *sighs of relief* - sunil *hoping he can sort this one last thing out* -- "I see you have books under your arm, brother. It is indeed a rare pleasure these days to come across somebody that still reads, brother." - Anthony Burgess