Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: jamin1@psu.edu (Jamin Frederick) Newsgroups: scea.yaroze.programming.codewarrior Subject: Re: Some concerns and ideas re CW Date: Sun, 13 Jul 1997 17:00:39 GMT Organization: SCEA Net Yaroze News Lines: 32 Message-ID: <33c908ae.79813459@news.scea.sony.com> References: <01bc8513$4e939960$9fbf43ce@wkwerner> <33b95c29.25784289@news.scea.sony.com> <01bc869b$d2a65420$6fbf43ce@wkwerner> <33c5903d.29746230@news.scea.sony.com> <01bc8e50$614263c0$87bf43ce@wkwerner> NNTP-Posting-Host: nb8ppp107.cac.psu.edu X-Newsreader: Forte Free Agent 1.11/32.235 So does this mean there's *no* overhead when linking an object library? How about class-static data? Or should this be avoided so this doesn't have to be unecessarily piled onto the heap? Jamin On 11 Jul 1997 23:15:46 GMT, "Wayne K. Werner" wrote: >> Just a note, the CodeWarrior linker is "smarter than the average bear". >> It will dead strip any unused functions. Thus, you don't have to worry >> about linking in functions that you don't use. You can see evidence of >> this when you run a program through the debugger. Any functions that are > >> never called with have no tick-marks next to the instructions in that >> function because the code doesn't exist in the executable. >> >> This applies to both user source and included libraries. >> >> -Joel >> -- >> ------------------------- >> PlayStation Debugger Dude >> Metrowerks >> >Great! I hate the added complexity of managing several small files that >should just be one large one. > >Wayne > >