axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] Port Tiger


From: Antoine Hersen
Subject: [Axiom-developer] Port Tiger
Date: Wed, 15 Jun 2005 19:56:16 +0200

Hello,

Here the progress I made so far in porting axiom to Tiger

Modified configure to add Darwin -> darwin

Modified Makefile.pamphlet Makefile.MACOSX -> Makefile.darwin
     Did not change PLF MACOSXplatform

Remove -I/usr/include/sys from CCF who caused sigaction not to be recognized properly

Other take care of malloc.h

My effort are now to make gcl working.

diff -u -r original/axiom/Makefile.pamphlet axiom/Makefile.pamphlet
--- original/axiom/Makefile.pamphlet 2005-06-05 05:59:28.000000000 +0200
+++ axiom/Makefile.pamphlet    2005-06-13 22:54:49.000000000 +0200
@@ -1851,7 +1851,7 @@
<<clean>>
@
-\subsection{Makefile.MACOSX}
+\subsection{Makefile.darwin}
On the MAC OSX someone decided (probably a BSDism) to rename the
[[SIGCLD]] signal to [[SIGCHLD]]. In order to handle this in the
low level C socket code (in particular, in [[src/lib/fnct_key.c]])
@@ -1863,13 +1863,13 @@
We need to add [[-I/usr/include/sys]] because [[malloc.h]] has been
moved on this platform.
-<<Makefile.MACOSX>>=
+<<Makefile.darwin>>=
# System dependent Makefile for the MAC OSX platform
# Platform variable
PLF=MACOSXplatform
# C compiler flags
CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF} \
-     -I/usr/X11/include -I/usr/include/sys"
+     -I/usr/X11/include "
# Loader flags
LDF= -L/usr/X11R6/lib
# C compiler to use
diff -u -r original/axiom/configure axiom/configure
--- original/axiom/configure    2005-06-05 05:59:28.000000000 +0200
+++ axiom/configure    2005-06-13 19:18:07.000000000 +0200
@@ -5,6 +5,7 @@
#       SunOS          --> Solaris9
#       Fedora Core 3  --> fedora3
#       freebsd        --> freebsd
+#    Darwin           --> darwin
#
# The solaris platform needs patch->gpatch, awk->gawk, tar->gtar
@@ -25,6 +26,7 @@
    elif  [ "$SYSNAME" = "MINGW32_NT-5.1" ] ; then SYSNAME=windows
    elif  [ "$SYSNAME" = "SunOS" ] ; then SYSNAME=solaris9
    elif  [ "$SYSNAME" = "freebsd" ] ; then SYSNAME=freebsd
+   elif  [ "$SYSNAME" = "Darwin" ] ; then SYSNAME=darwin
    else
      echo Your system name is $SYSNAME
      echo We do not know how to build for this kind of system
@@ -136,6 +138,7 @@
#       SunOS          --> Solaris9
#       Fedora Core 3  --> fedora3
#       freebsd        --> freebsd
+#    Darwin           --> darwin
# (1) We test for the AWK variable. We need one of gawk, nawk, or awk
#     in order to build the noweb software.
# (2) Then we output the final message for the user.
--- original/axiom/src/include/xpm.h 2003-10-09 12:45:16.000000000 +0200
+++ axiom/src/include/xpm.h    2005-06-14 00:02:51.000000000 +0200
@@ -61,7 +61,9 @@
#ifdef FOR_MSW
# define SYSV            /* uses memcpy string.h etc. */
+#if   !defined(BSDplatform) && !defined(MACOSXplatform)
# include <malloc.h>
+#endif /*MACOSXplatform */
# include "simx.h"        /* defines some X stuff using MSW types */
#define NEED_STRCASECMP        /* at least for MSVC++ */
#else /* FOR_MSW */

--- original/axiom/src/lib/XDither.c.pamphlet 2005-06-05 05:59:29.000000000 +0200 +++ axiom/src/lib/XDither.c.pamphlet 2005-06-14 00:03:23.000000000 +0200
@@ -51,7 +51,7 @@
#include <stdio.h>
#include <stdlib.h>
-#if !defined(BSDplatform)
+#if   !defined(BSDplatform) && !defined(MACOSXplatform)
#include <malloc.h>
#endif
diff -u -r original/axiom/src/lib/XShade.c.pamphlet axiom/src/lib/ XShade.c.pamphlet --- original/axiom/src/lib/XShade.c.pamphlet 2005-06-05 05:59:29.000000000 +0200 +++ axiom/src/lib/XShade.c.pamphlet 2005-06-14 00:03:48.000000000 +0200
@@ -51,7 +51,7 @@
#include "useproto.h"
#include <stdio.h>
-#if !defined(BSDplatform)
+#if   !defined(BSDplatform) && !defined(MACOSXplatform)
#include <malloc.h>
#endif
#include <stdlib.h>
diff -u -r original/axiom/src/lib/cfuns-c.c.pamphlet axiom/src/lib/ cfuns-c.c.pamphlet --- original/axiom/src/lib/cfuns-c.c.pamphlet 2005-06-05 05:59:29.000000000 +0200 +++ axiom/src/lib/cfuns-c.c.pamphlet 2005-06-14 00:04:13.000000000 +0200
@@ -52,7 +52,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
-#if !defined(BSDplatform)
+#if   !defined(BSDplatform) && !defined(MACOSXplatform)
#include <malloc.h>
#endif
#include <sys/types.h>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]