Changeset 5002
- Timestamp:
- Aug 22, 2006, 12:57:43 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lisp-kernel/darwinx8664/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lisp-kernel/darwinx8664/Makefile
r4986 r5002 45 45 LD = ld64 46 46 47 ### The -pagezero_size/-seg1addr args are an attempt to work around a 48 ### bug (#4057702) in ld64. 47 ### the -pagezero_size and -seg1addr arguments below are critical; if 48 ### we accept the default pagezero size, we don't seem to be able to 49 ### mmap in the low 32 bits of the address space (at least the very 50 ### low end of that) and we may need to ensure that some addresses 51 ### are in that range. (OK, so these exact values may be less than 52 ### critical ...) 49 53 50 ### The -seg1addr and -pagezero_size arguments below are nonsense; 51 ### early versions of ld64 were/are broken. 52 LDFLAGS = -M -arch x8664 -dynamic -o $@ -e start -seg1addr 0x6000 54 LDFLAGS = -arch x86_64 -dynamic -o $@ -pagezero_size 0x1000 -seg1addr 0x8000 53 55 AS = as 54 56 M4 = gm4 … … 71 73 CDEFINES = -DDARWIN -DX86 -DX8664 -DDARWIN_GS_HACK 72 74 CDEBUG = -g 73 COPT = -O275 COPT = # -O2 74 76 75 77 .s.o: … … 106 108 107 109 OSEARLYLIBS = -lcrt1.o 108 OSLATELIBS = -lSystem -lmx110 OSLATELIBS = -lSystem 109 111 110 # If the linker can find an absolute path to -lSystemStubs, use 111 # -lSystemStubs; otherwise, just use libgcc.a 112 SYSTEMSTUBSPATH = $(shell $(CC) --print-file-name=libSystemStubs.a) 113 SYSTEMSTUBSABSOLUTE = $(shell expr $(SYSTEMSTUBSPATH) : "^/*") 114 ifeq ($(SYSTEMSTUBSABSOLUTE),1) 115 OSMIDDLELIBS = -lSystemStubs 116 else 117 OSMIDDLELIBS = -lgcc 118 endif 112 OSMIDDLELIBS = 113 119 114 120 115 OSLIBS = $(OSEARLYLIBS) $(OSMIDDLELIBS) $(OSLATELIBS)
Note:
See TracChangeset
for help on using the changeset viewer.
