This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] AmigaOS 4 port contribution [libstdc++-v3]
- From: Bernardo Innocenti <bernie at develer dot com>
- To: Marcus Comstedt <marcus at mc dot pp dot se>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Wed, 08 Oct 2003 01:04:27 +0200
- Subject: Re: [PATCH] AmigaOS 4 port contribution [libstdc++-v3]
- Organization: Develer S.r.l.
- References: <yf9ad8fr6mp.fsf@mc.pp.se> <200310071605.h97G50K26558@greed.delorie.com> <yf94qykhhz3.fsf_-_@mc.pp.se> <yf9r81og1y6.fsf_-_@mc.pp.se> <yf9n0ccg1do.fsf_-_@mc.pp.se>
Marcus Comstedt wrote:
Well, in accordance to my new plan, here is an "updated" patch chunk
for libstdc++-v3. There were no comments on this part of the patch
though, so it's actually the same change as before, but as a separate
patch this time.
Patches for libstdc++ should also be forwarded to libstdc++@gcc.gnu.org.
By the way, the patch looks fine to me.
ChangeLog entry:
* crossconfig.m4 (*-amigaos*): Add.
------------------------------------------------------------------------
Index: libstdc++-v3/crossconfig.m4
===================================================================
RCS file: /cvsroot/gcc/gcc/libstdc++-v3/crossconfig.m4,v
retrieving revision 1.4
diff -u -p -r1.4 crossconfig.m4
--- libstdc++-v3/crossconfig.m4 1 Oct 2003 20:45:45 -0000 1.4
+++ libstdc++-v3/crossconfig.m4 7 Oct 2003 21:51:52 -0000
@@ -358,6 +358,17 @@ case "${host}" in
AC_DEFINE(HAVE_TANF)
AC_DEFINE(HAVE_TANHF)
;;
+ *-amigaos*)
+ AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \
+ machine/endian.h machine/param.h sys/machine.h sys/types.h \
+ fp.h locale.h float.h inttypes.h])
+ SECTION_FLAGS='-ffunction-sections -fdata-sections'
+ AC_SUBST(SECTION_FLAGS)
+ GLIBCXX_CHECK_LINKER_FEATURES
+ GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
+ GLIBCXX_CHECK_WCHAR_T_SUPPORT
+ AC_DEFINE(HAVE_COPYSIGN)
+ ;;
*)
AC_MSG_ERROR([No support for this host/target combination.])
;;
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
Please don't send Word attachments - http://www.gnu.org/philosophy/no-word-attachments.html