Richard Guenther <richard.guent...@gmail.com> writes:

> On Sun, Apr 3, 2011 at 9:34 PM, Sergey Ostanevich <sergos....@gmail.com> 
> wrote:
>> I would recommend to use 'nm -S a.out' that gives
>>
>> [...]
>> 00000000004004a4 0000000000000054 T main
>> [...]
>>
>> then you can provide a name for the routine you want to test for the size.
>
> That also sounds reasonable.  Is nm -S more portable than size?

Neither Solaris nor IRIX nm have it.  size isn't particularly portable,
either: there are many variations in output format.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to