Re: Compile

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...

An additional note on this: The shrouder [and binder] will remove any routines and variables that your program doesn't use. The translator, conversely, will not remove any unused routines. So if you are translating with a large library (e.g. Win32Lib) then you will see a much larger executable.

This is totally wrong. In fact, the translator is likely to remove more things from your code. It makes several passes until it can no longer remove anything (more or less, there are other optimizations involved).

You may be thinking about translating into a shared / dynamic library, which has different rules, since the point is to make stuff available for use later on. But even then, things are removed during translation.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu