Mail Archives: djgpp/1999/06/07/16:23:02
> 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 <dpmi.h> 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.
- Raw text -