Richard Henderson <r...@twiddle.net> writes:

> index 1b27998..ff0dc45 100644
> --- a/gmp-h.in
> +++ b/gmp-h.in
> @@ -251,6 +251,10 @@ typedef __mpq_struct *mpq_ptr;
>       __GMP_PUBLIC_DATA       - for declaring data variables
>       __GMP_PUBLIC_ALIAS      - for re-declaring symbols with another name
>  
> +   When using GCC and building an ELF shared library, we'll arrange for
> +   the rest of GMP to see a hidden alias.  The true public symbol will
> +   be created in the individual source files.
> +

This is supposed to be an implementation detail, right? I.e., it should
depend only on if gmp *itself* is compiled with gcc, and work the same
no matter which compiler is used for the application *using* gmp (and
which will be processing the public gmp.h header)?

I admit I don't understand the fine details here.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
http://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to