Re: export symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alberich de megres <alberich2k5@xxxxxxxxx> writes:

> On Mon, Aug 31, 2009 at 6:46 PM, Ian Lance Taylor<iant@xxxxxxxxxx> wrote:
>> Alberich de megres <alberich2k5@xxxxxxxxx> writes:
>>
>>> gcc main.c -o main -g -fPIC -O2 -ldl -Wl,--version-script=vs.txt
>>
>> Also use the -rdynamic option.
>>
>> Ian
>>
>
> But when i use -rdynamic all symbols are included on dynsym table, and
> i only want some of them to be included.

Use the version script to force the ones that you do not want to be
included to be local.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux