Big problem with Small programs
Sean Kelly
sean at f4.ca
Wed Jan 24 06:56:20 PST 2007
Walter Bright wrote:
> 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 that's true then nothing in either version referenced them. The
application is identical in both cases but for some of the objects
living in a library in the small case.
> 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.
See above.
Sean
More information about the Digitalmars-d
mailing list