TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gary Chambers
from: Odinn Sorensen
date: 1994-12-12 16:40:04
subject: EXE Size

Hello Gary.

Tuesday December 06 1994 12:12, Gary Chambers wrote to All:

 GC> Why, apparently, are the resultant .EXE files created by Borland
 GC> C++ for OS/2 1.5 so much larger than their CSet/2 counterparts?

Use these options with TLINK: "-B:0x10000 -Oc -v-".

With those options, you will get a very small .EXE. I was actually very
surprised how much smaller it gets compared to the DOS version of my
program.

I'm looking for a way to shrink my Watcom C++ 10.0a OS/2 programs as much,
but no luck (linking with options eliminate and offset=0x10000 doesn't cut
the size as much as I think it can be).

Odinn

... You have the capacity to learn from mistakes. You'll learn a lot today.
--- GoldED/2 2.50.A1211+


* Origin: Goldware International * Internet: odinn{at}winboss.dk (2:236/77)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 236/77 512 1 23/996 240/5500 396/1 3615/50 229/2 12/2442
@PATH: 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.