On which platforms is -fvisibility supported?

Jonathan Turkanis technews@kangaroologic.com
Wed Sep 14 23:44:00 GMT 2005


Mike Stump wrote:

 > On Sep 14, 2005, at 8:59 AM, Jonathan Turkanis wrote:
 >
 >> I've asked this question twice at gcc-help, but got no response.

 >> On which platforms is the -fvisibility option supported?

 > autoconf will answer this question for you, please use it.

Do you mean I should run autoconf on each platform where GCC is available to get 
an answer? I'm sure you don't think this is a practical suggestion, which leaves 
me wondering what you really mean.

 > Giving  you an answer strikes me as dangerous.

Why?

 > If you tell us what the real  question is, maybe we can answer that one.

First tell me what your real answer is.

 > ELF, darwin would be my approximate answer, if you had to have one.

You don't have to have one. But a non-answer is worse than no answer.

 >> The GCC docs here (http://tinyurl.com/99wc8) suggest that it is a  subset of 
ELF platforms. Is that correct?
 >
 >
 >
 > No.  It also works on darwin, darwin is not an ELF platform.

Then the documentation is seriously misleading.

-- 
Jonathan Turkanis
www.kangaroologic.com



More information about the Gcc mailing list