[AD] DJGPP build

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hello,

1.
  Someone said once (on this list) that '-O2' optimizes more than '-O3'.
  The GCC documentattion states: "`-O3' turns on all optimizations specified by
 `-O2' and also turns on the `inline-functions' option."
  I'm using -O3 to compile Allegro,and this makes the demo and many
 examples run faster.Also,the library and some executables are
 smaller,probably because sometimes the function-call overhead is
 larger than the actual function code,and with '-O3' it is elliminated.
  IMHO '-O3' should be used in the makefile.
  
2.
  The executables size (for make compress) can be further reduced by
 using 'upx --best'.

3.
  There is a bug in exsprite.c.Here's the corrected version of the
 file.

-- 
Best regards,
 Bogdan                          mailto:robotzel@xxxxxxxxxx

 They say the human brain uses a mere 7 of its computational capacity.
 Too bad there's no RC5 client for it...

Attachment: exsprite.c
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/