Ignore:
Timestamp:
Aug 28, 2008, 11:51:45 AM (11 years ago)
Author:
gb
Message:

Makefile: build with 10.4 interfaces and -mmacosx_version_min 10.4
lisptypes.h: kludgily #define "new" -prefixed mcontext fields.

(This is what we do on other Darwin platforms; it's supposed to help
ensure that kernels built on Leopard work on Tiger, while allowing
us to eventually drop Tiger support and not have to change as much
then.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/darwinx8632/Makefile

    r10099 r10576  
    2020RM = /bin/rm
    2121LD = ld
    22 LDFLAGS = -arch i386 -dynamic  -o $@ -e start -pagezero_size 0x11000 -seg1addr 0x00011000 -sectalign __TEXT __text 0x1000
     22LDFLAGS =  -macosx_version_min 10.4 -arch i386 -dynamic  -o $@ -e start -pagezero_size 0x11000 -seg1addr 0x00011000 -sectalign __TEXT __text 0x1000
    2323AS = as
    2424M4 = gm4
     
    3232        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
    3333.c.o:
    34         $(CC) -c -arch i386 $< $(CDEFINES) $(CDEBUG) $(COPT) $(MDYNAMIC_NO_PIC) -o $@
     34        $(CC) -c -arch i386 $< $(CDEFINES) $(CDEBUG) $(COPT) $(MDYNAMIC_NO_PIC) -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o $@
    3535
    3636SPOBJ = x86-spjump32.o x86-spentry32.o x86-subprims32.o
Note: See TracChangeset for help on using the changeset viewer.