Changeset 14701


Ignore:
Timestamp:
Mar 30, 2011, 7:13:37 PM (9 years ago)
Author:
gb
Message:

Add 'exports' file listing symbols to dynamically export x86 Darwin
kernel build directories; contents currently '_catch_exception_raise*'.
Add '-exported_symbols_list exports' option to Makefiles.

Location:
trunk/source/lisp-kernel
Files:
2 added
2 edited

Legend:

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

    r14677 r14701  
    2727RM = /bin/rm
    2828LD = ld
    29 LDFLAGS =  -macosx_version_min $(OSVERSION) -arch i386 -dynamic  -o $@ -e start -pagezero_size 0x11000 -seg1addr 0x00011000 -sectalign __TEXT __text 0x1000
     29LDFLAGS =  -macosx_version_min $(OSVERSION) -arch i386 -dynamic  -o $@ -e start -pagezero_size 0x11000 -seg1addr 0x00011000 -sectalign __TEXT __text 0x1000 \
     30 -exported_symbols_list exports
    3031AS = as
    3132M4 = gm4
  • trunk/source/lisp-kernel/darwinx8664/Makefile

    r14677 r14701  
    1919SDKROOT=/
    2020OSVERSION=10.5
    21 #SDKROOT=/Developer/SDKs/MacOSX10.6.sdk
    22 #OSVERSION=10.6
     21SDKROOT=/Developer/SDKs/MacOSX10.6.sdk
     22OSVERSION=10.6
    2323
    2424MDYNAMIC_NO_PIC = $(shell ($(CC) --help -v 2>&1 | grep -q -e "-mdynamic-no-pic") && /bin/echo "-mdynamic-no-pic")
     
    3232### Gosh.  I always thought that it was.  Go know, right ?
    3333LDFLAGS = -macosx_version_min $(OSVERSION) -arch x86_64 -dynamic \
    34           -o $@ -e start -pagezero_size 0x11000 -seg1addr 0x00011000
     34          -o $@ -e start -pagezero_size 0x11000 -seg1addr 0x00011000 \
     35          -exported_symbols_list exports
    3536
    3637AS = as
Note: See TracChangeset for help on using the changeset viewer.