This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libmx and Darwin


Andrew Pinski <apinski@apple.com> writes:

> It was decided that libmx (by Apple) should be automatically linked in
> for every
> language and not just C++ and fortran.  This patch does not and
> removes the check
> in libstdc++ for libmx and the one in libgfortran because they are no
> longer needed
> and are just redundant.
> 
> 
> OK? Bootstrapped on powerpc-apple-darwin7.4.0 and
> powerpc-apple-darwin6.x.
> I do not know why there was an undefine for LIB_SPEC as this had to
> effect at all.

This is OK.

(It would be helpful if you said *who* decided, rather than 'it was decided'.)

> gcc/ChangeLog:
> 	* config/darwin7.h (MATH_LIBRARY): Remove.
> 	(LIB_SPEC): Define.
> 	* config/darwin.h (MATH_LIBRARY): Define always to empty.
> 	(LIB_SPEC): Only define if not already defined.
> 
> libstdc++/ChangeLog:
> 	* linkage.m4: Remove check for libmx.	
> 	* configure: Regenerate.
> 
> libgfortran/ChangeLog:
> 	* configure.ac: Remove check for libmx.
> 	* configure: Regenerate.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]