On Wed, Oct 26, 2005 at 03:55:48PM +0530, phanikumar.ankireddy@xxxxxxx wrote: > We are facing problems when trying to define the scope of some functions as > "local". > We didnt find any eqivalent option in the GNU ld version 2.13.90.0.18. This has nothing to do with gcc. Look at GNU ld's --version-script option. The GNU ld texinfo docs include a section on versioning and visibility; it's very similar to Solaris ld's mapfiles. I don't know when this was added, so your RH9 linker may or may not include it; GNU ld version 2.15 in Solaris 10+ does have the required support. obgcc: You can use -Wl,-M,mapfile instead of the more verbose -Xlinker. -- Keith M Wesolowski "Sir, we're surrounded!" Solaris Kernel Team "Excellent; we can attack in any direction!"