This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: limit glibc symbol by version script


Nix wrote:
>On Mon, 10 Jul 2006, Steven Munroe murmured woefully:
>  
>>Hiroki Kaminaga writes
>>
>>    
>>>>I would like to limit exported symbol from glibc in my system.
>>>>
>>>>Background is, I would like to eliminate unused API in my system from glibc,
>>>>and for first step, I would like to disable them.
>>>>
>>>>First thought is to limit exported symbol by using version script.
>>>>
>>>>How can I do it?
>>>>Is there better approach?
>>>>        
>>try configuring with:
>>
>>--enable-oldest-abi=ABI configure the oldest ABI supported [e.g.
>>2.2][default=glibc default]
>>    
>
>This isn't often tested, as far as I can tell: my attempt to build
>with an oldest-abi of 2.4 failed on i386 (I didn't investigate
>further: foolish of me).
>
>  
Then try:

  --disable-versioning    do not include versioning information in the
library objects


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