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.