Bill,

A nice feature that GMP has added is to define in gmp.h
__GMP_CC and __GMP_CFLAGS; for example,

#define __GMP_CC "gcc"
#define __GMP_CFLAGS "-O2 -m64 -mtune=k8"

This lets programs that depend on GMP use the same
C compiler and CFLAGS.  It saves the user from having
to explicitly set CC and CFLAGS by hand.  Recent releases of mpfr use
this feature; hopefully other projects such as ecm, mpc,
etc. will also start using it.

I would like to request that something similar be done
in MPIR - defining __MPIR_CC and __MPIR_CFLAGS.
And if --enable-gmplink is used, defining __GMP_CC
and __GMP_CFLAGS to be the same as __MPIR_CC
and __MPIR_CFLAGS, respectively.

Mariah

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to