c++.dos.16-bits - Size optimization
- Ploumen Loic (4/4) Apr 04 2003 Hello,
- roland (9/17) Apr 05 2003 The idde tels me: -o+space options
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
Apr 04 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 youThe 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
Apr 05 2003