gmp-4.1.3-rc1
Kevin Ryde
user42 at zip.com.au
Fri Apr 23 21:06:41 CEST 2004
Roberto Bagnara <bagnara at cs.unipr.it> writes:
>
> It is a pity that --enable-cxx does not default to
> `yes' when an adequate C++ compiler is available.
"detect" would probably be the best default, if it could be made to
work.
> What are the reasons behind
> the current default?
Notes from configure.in:
# IMPROVE ME: The default for C++ is disabled. The tests currently
# performed below for a working C++ compiler are not particularly strong,
# and in general can't be expected to get the right setup on their own. The
# most significant problem is getting the ABI the same. Defaulting CXXFLAGS
# to CFLAGS takes only a small step towards this. It's also probably worth
# worrying whether the C and C++ runtimes from say gcc and a vendor C++ can
# work together. Some rather broken C++ installations were encountered
# during testing, and though such things clearly aren't GMP's problem, if
# --enable-cxx=detect were to be the default then some careful checks of
# which, if any, C++ compiler on the system is up to scratch would be
# wanted.
More information about the gmp-devel
mailing list