Sorry, maybe my confusion. I will experiment more here. I'm also interested in MacOSX. And several ELF platforms: Solaris, Linux, FreeBSD, NetBSD, OpenBSD. - Jay ---------------------------------------- > To: jay.krell@xxxxxxxxxxx > CC: gcc-help@xxxxxxxxxxx > Subject: Re: ideal visibility setting? > From: iant@xxxxxxxxxx > Date: Tue, 18 May 2010 20:29:06 -0700 > > Jay K writes: > >> In windows, you can just say: >> >> >> void F1(); >> void F2() { F1(); } >> >> >> and whether or not F1 is in the .so/.dll/.exe as F2, it doesn't matter. >> >> The compiler doesn't have to know. It can generate the same simple >> sequence no matter what. > > Well, sure, that works in ELF too. I guess I'm not sure what you are > driving at. > > Ian