ideal visibility setting?
Jay K
jay.krell@cornell.edu
Wed May 19 11:23:00 GMT 2010
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@cornell.edu
> CC: gcc-help@gcc.gnu.org
> Subject: Re: ideal visibility setting?
> From: iant@google.com
> 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
More information about the Gcc-help
mailing list