This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] testsuite fix for math tests on darwin
- From: Dale Johannesen <dalej at apple dot com>
- To: Andreas Tobler <toa at pop dot agri dot ch>
- Cc: Dale Johannesen <dalej at apple dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Sun, 6 Jun 2004 09:38:50 -0700
- Subject: Re: [patch] testsuite fix for math tests on darwin
- References: <40C31BAC.7000903@pop.agri.ch>
On Jun 6, 2004, at 6:27 AM, Andreas Tobler wrote:
darwin has some C99 math functions in the libmx instead of libm, so we
should add the -lmx to the tests where we need these functions.
The attached patch fixes three failures of the libstdc++ suite.
Unfortunately I did not find the cabsl in libmx.
There's been some discussion of this issue at Apple. I think we're
leaning in the direction
of having the driver include -lmx automagically. In fact I thought
Andrew already had a
patch in that did this for C++. Comments?
(An obvious question is, Why are they in libmx? All I can tell you is
the compiler people
don't control that...)