Big problem with Small programs

Walter Bright newshound at digitalmars.com
Tue Jan 23 19:13:03 PST 2007


Sean Kelly wrote:
> The first block goes from line 410 to line 6719 in the map file, and the 
> second block goes from line 8047 to line 14559 in the map file.  All 
> told, that's 12821 separate constants or initializers in the manually 
> linked version that seem absent from the library-based version.

That means that, in the library based version, nothing in the explicitly 
linked .obj files referenced them.

If you want to find out what reference is pulling in a particular 
library module, use lib to remove that library module, relink, and note 
the undefined reference.



More information about the Digitalmars-d mailing list