Is the time used by the linker a concern here? If not, you could run the
linker twice, once with -zdefs (to get the symbols) and then
a second time without (to do the actual link).

- Ali



Bob Tanski wrote:
> I should have been a little more specific.
> 
> When you use -Bsymbolic the linker spits out the unresolved symbols and 
> then completes the link of the shared object.  I'm looking for a way to 
> get the same behavior  without specifying -Bsymbolic. -zdef spits out 
> the symbols but doesn't perform the link.
> 
> thanks
> 
> bob
> 
> Rod Evans wrote:
>> Bob Tanski wrote:
>>   
>>> Hi
>>>
>>> In the past PTC  linked their shared objects with -Bsymbolic. Using this 
>>> option produced a list of unresolved symbols that PTC found very useful.
>>>
>>> PTC now uses -xldscope=symbolic when building their shared objects, but 
>>> now the linker no longer produces a list of unresolved symbols.
>>>
>>> Is there a way to force the linker to produce this list if unresolved 
>>> symbols?
>>>     
>> -zdefs?
>>
>>   
> 
> 


Reply via email to