I don't know how organized the Watcom RTL sources, but, probably, there are more common files. In this case, to make executables smaller, there remains only one way: instead .obj compiler should generate .lib files, where each function (and common tails) and each variable placed in its separate library section.
My Watcom CFLAGS (small model) with which I reach the smallest .EXE file size are:
CFLAGS = -wx -zpw -zq -obklrs -ei -s -5 -i$(%WATCOM)\h (you can drop -5 of course ;-)
And the WLINK options I use are:
option quiet,map,eliminate (the latter eliminates unreferenced functions)
But as Bart noted, you can look at our SYS too...
Lucho
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel
