ideal visibility setting?

Ian Lance Taylor iant@google.com
Tue May 18 14:47:00 GMT 2010


Jay K <jay.krell@cornell.edu> writes:

> What I would like is..basically the NT model, but without __declspec(dllimport)
>     which is "just" an optimization for functions, but, granted,
>     more than that for data.
>   I promise not to import/export data.
>   I want all symbols, for codegen purposes, to be default assumed to be
>     neither exported nor imported. I want to reference functions directly.
>     No GOT or PLT references in the "main" code.
>     No "interposition".

See the -fvisibility-ms-compat option.

Ian



More information about the Gcc-help mailing list