Hi Arkady, [PS: I am still looking for people who can help with reviewing my 2035c versus 2036 diff report, thanks!]
>> type test1.c > void main () {} >> wcl test1.c >> wcc TEST1.C >> wlink @__wcl__.lnk >> type test2.c > #include <stdio.h> > void main () { printf ("Hello, world!\n"); } ... > TEST1 EXE 1 196 > TEST2 EXE 8 736 That is quite nice of the OpenWatcom 1.6 DOS target :-). Even though their printf is not really "lightweight" ;-). > J> One reason for this might be: although the OW 16-bit compiler WCC > J> ... for 386/486/Pentium/PPro it doesn't seem to use the 32-bit > J> registers if one of these switches is set. That is indeed a problem. Processing of 32 bit values can be done in much more elegant (and compact/optimized) way when you can actually use 32 bit registers. Even if your program is running in a 16 bit real mode memory model. The memory model is just about pointers, while 32 bit values are useful for many things. Japheth also mentioned bad pointer handling optimizations in OpenWatcom, but thats another issue. Eric ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user