April 05, 2003
Hello,

Can someone tell me how I can reduce .exe size at its maximum? I'm programming
an httpd server on an embedded system, so size does matter a lot...
Thank you


April 05, 2003

Ploumen Loic wrote:

> Hello,
> 
> Can someone tell me how I can reduce .exe size at its maximum? I'm programming
> an httpd server on an embedded system, so size does matter a lot... Thank you
> 
> 
> 

The idde tels me: -o+space options
Compile for the right cpu, choose the right memory model.
Try DOSX 32 bit memory model ( -mx ): on one way, exe tend to be
bigger as your objs have to be linked with a "loader" and a special lib.
On the other way generated code tend to be smaller, more eficient and faster.
Try

roland