delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/21/06:11:45

From: Sterten AT aol DOT com
Message-ID: <45.962d4f0.288aae1a@aol.com>
Date: Sat, 21 Jul 2001 06:06:18 EDT
Subject: Re: pokeb peekb
To: eliz AT is DOT elta DOT co DOT il
CC: djgpp AT delorie DOT com
MIME-Version: 1.0
X-Mailer: AOL 3.0 16-bit for Windows sub 60
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019