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]


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.


  // Marcus


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.])
    ;;

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