/[cmucl]/src/lisp/Config.x86_darwin
ViewVC logotype

Contents of /src/lisp/Config.x86_darwin

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations)
Sun Jan 9 00:12:36 2011 UTC (3 years, 3 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, snapshot-2011-09, snapshot-2011-06, snapshot-2011-07, snapshot-2011-04, snapshot-2011-02, snapshot-2011-03, HEAD
Changes since 1.9: +2 -2 lines
Changes to support building on Mac OS X 10.6.  When compiled on 10.6,
the resulting binary still works on 10.5.

lisp/Config.x86_darwin:
o Add -m32 flag to build and link a 32-bit binary.

lisp/Darwin-os.h:
o Include <sys/ucontext.h> instead of <ucontext.h> to get rid of the
  error about deprecated functions in ucontext.h.

lisp/gencgc.h:
o Mac OS X defines PAGE_SIZE in a header and that conflicts with our
  name.  Rename our PAGE_SIZE to GC_PAGE_SIZE.

lisp/gencgc.c:
o Rename PAGE_SIZE to GC_PAGE_SIZE.
1 # -*- Mode: makefile -*-
2
3 include Config.x86_common
4
5 # Compile code that will run on OSX 10.4 (Tiger)
6 MIN_VER = -mmacosx-version-min=10.4
7
8 CPPFLAGS += -DDARWIN $(MIN_VER) -m32
9 CFLAGS += -g3
10 ASFLAGS += -g3 $(MIN_VER)
11
12
13 UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
14
15 OS_SRC += Darwin-os.c mach-o.c
16 OS_LINK_FLAGS = -m32 $(MIN_VER)
17 OS_LIBS =
18
19 EXEC_FINAL_OBJ = exec-final.o
20
21

  ViewVC Help
Powered by ViewVC 1.1.5