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] AmigaOS 4 port contribution [libstdc++-v3]


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




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