axiom-developer
[Top][All Lists]
Advanced

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

[Axiom-developer] OS X


From: Jaap Weel
Subject: [Axiom-developer] OS X
Date: Sun, 28 Sep 2003 13:43:53 -0700

I don't know how for Tim has got on Mac OS X, but I thought I'd just mention what I had so no-one has to repeat it all. If you got much further, please just ignore this.

Added Makefile.mac section to Makefile.pamphlet:
"
@
\subsection{Makefile.mac}
<<Makefile.mac>>=
# System dependent Makefile for the Mac/PPC platform
# Platform variable
PLF:=MACplatform
# C compiler flags
CCF:="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF} -I/usr/X11R6/include" #CCF:=-g -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF} -I/usr/X11/include
# Loader flags
LDF:= -L/usr/X11R6/lib
# C compiler to use
CC:=gcc
AWK=awk
RANLIB=ranlib
TOUCH=touch
TAR=tar
AXIOMXLROOT=${AXIOM}/compiler
O=o
BYE=bye
LISP=lisp
DAASE=${SRC}/share

ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} CC=${CC} AWK=${AWK} RANLIB=${RANLIB} \ TOUCH=${TOUCH} TAR=${TAR} AXIOMXLROOT=${AXIOMXLROOT} O=${O} BYE=${BYE} \
    LISP=${LISP} DAASE=${DAASE}

all: rootdirs noweb srcsetup lspdir srcdir
        @echo 45 Makefile.linux called
        @echo 46 Environment : ${ENV}
        @echo 47 finished system build on `date` | tee >lastBuildDate

<<rootdirs>>
<<noweb>>
<<literate commands>>
<<srcsetup>>
<<src>>
<<lsp>>
<<document>>
<<clean>>
"


Added
"
/** On some systems, such as the Mac, SIGCLD is called SIGCHLD **/
#if defined(MACplatform)
#define SIGCLD SIGCHLD
#endif
"
to src/lib/fnct_key.c.pamphlet

Added /usr/X11R6/include to INC path in src/lib/Makefile.pamphlet

Question: is this necessary? Without this, the C preprocessor fails to find X11/Xlib.h, but how on earth does it find it on Linux?

Made scripts in src/scripts executable

Question: is this necessary? Without this, make barfs, but how on earth does it do this on Linux?

awk and gawk:
noweb, in its current configuration, explicitly calls gawk. Macs ship with awk. If I symlink gawk --> awk on my system, it gets rid off the errors. I see some mechanism in noweb to deal with this, but don't quite understand it. Any thoughts?


========================================================================
Jaap Weel                   Campus address:        | dorm (626) 795-9748
Caltech, Blacker '05        Caltech MSC #874, Pasadena, CA 91126, U.S.A.
www.its.caltech.edu/~weel   Permanent address:     | home +31-46-4337033
E-mail: address@hidden    Kelderstraat 2-4, 6171 GB Stein, Netherlands
========================================================================






reply via email to

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