This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] testsuite fix for math tests on darwin
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Andreas Tobler <toa at pop dot agri dot ch>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: 06 Jun 2004 16:05:38 +0200
- Subject: Re: [patch] testsuite fix for math tests on darwin
- Organization: Integrable Solutions
- References: <40C31BAC.7000903@pop.agri.ch>
Andreas Tobler <toa@pop.agri.ch> writes:
| Hi,
|
| 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.
|
| Ok for main?
Shouldn't the compiler driver take care of that? Those functions are
used by libstdc++, so when linking againt libstdc++, the driver should
be passing that additional library too, instead of us setting them in the
testsuite.
-- Gaby