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: Benjamin Kosnik <bkoz at redhat dot com>
- To: gdr at acm dot org
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Wed, 9 Jun 2004 01:25:58 -0500
- Subject: Re: [patch] testsuite fix for math tests on darwin
- Organization: Red Hat / Chicago
- References: <20040608185333.70d649b1.bkoz@redhat.com><200406090011.i590Bap28012@tin.geop.uc.edu><32838.::ffff:24.250.169.187.1086757966.squirrel@webmail.nerim.net>
>This was basically discussed recently: someone (at Apple) needs to
>fix the gcc driver on Darwin so that it passes -lmx automatically
>to the linker. Ortherwise, we get nth annoying instances of the same problem.
Yes, I agree.
It looks, however, that some of this has already crept in.
less linkage.m4
dnl Check libmx
AC_CHECK_LIB(mx, sqrtf, libmx="-lmx")
dnl ac_save_LIBS="$LIBS"
LIBS="$LIBS $libmx"
It would be nice to have this done one way.
-benjamin