Mail Archives: djgpp/2001/07/21/06:11:45
Eli Zaretskii:
>From the DOS prompt, type this:
>
> strip myprog.exe
very good ! I'm down to 234K from 478K.
>That's because you didn't turn on optimizations (the -O2 switch)
do I need -O2 , when I have strip ?
or is it also for better speed ?
>and didn't ask GCC to print warnings (the -Wall switch).
I turned that off, since there were too many.
I couldn't find the errors in the djungle of warnings.
>You probably
>don't want to change your program each time you modify the compilation
>switches, so I suggest to always include <sys/farptr.h>. Trust me, I
>know what I'm talking about.
will my friend get an error with his Intel-compiler ?
Guenter
- Raw text -