Date: Mon, 7 Jun 1999 16:22:45 -0400 Message-Id: <199906072022.QAA04795@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: (message from Wigoo on Mon, 07 Jun 1999 22:04:04 +0200) Subject: Re: a fwe question References: Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Is there any basic rules to have faster program? I mean something about > source code like to use register variables instead of int or *int. This wouldn't be djgpp-specific, except to say try to reduce the number of system calls you make (like open, time, etc) because those are slower in djgpp than in other systems. > How to find the size of physical memory, free physical memory, > all(physical+virtual) memory and all free memory? Look in for a number of such functions. Avoid the ones marked "1.0" as Windows won't support them. > Is there any chance to see error "Stack overflow" or "Heap overflow"? Windows doesn't support that feature in the memory model DJGPP uses. > Where can I find the version of my gcc compiler, what`s the latest version > and where can I download it from? gcc 2.8.1 is the latest version for djgpp, but egcs 1.1.2 is also available in v2gnu/egcs/ Type "gcc -v" to see what version you have.