This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

linker option -s



Hello everyone,


I found a link to this mailing list at

http://www.gnu.org/software/gcc/gcc.html

but i don't know how to subscribe to the list, so i can't read
answers within the list.

I'd just like to see a better documentation for the linker option
'-s' in future versions of the manual. The current single-line
description is, however, unsufficient. Removing 'relocation information'
could be misunderstood as removing 'reloc tables', which would make
an executable unloadable, which is in fact not true. I wonder if
I could use this option when linking a dynamic library - can applications
still find library functions if a lib was linked using -s ?
And what kinda symbols are removed ? I still have absolutely no clue
what this option is exactly doing, but i'm using it by default..

Have a nice day..



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]