Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
|Links to snapshot-2011-04:||(view) (annotate)|
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.
First cut at executable images on Darwin/x86. The resulting executable appears to work! bootfiles/20a/boot-2010-07-1.lisp: o Add :executable for darwin/x86. code/bsd-os.lisp: o Make :elf and :mach-o runtime features too. o Register :executable of :executable is defined. lisp/Config.x86_darwin: o Need mach-o.c o Add exec-final.c lisp/lisp.c: o Don't include elf.h if we're on Darwin since Darwin uses Mach-O, not ELF. o For Darwin, we get the initial function address from initial_function_addr, not from &initial_function_addr, like for Linux. lisp/save.c o Don't include libgen.h and elf.h on Darwin. tools/linker-x86.sh: o Update to support Darwin. tools/make-main-dist.sh: o Add support for executables on Darwin. lisp/mach-o.c: o Initial support for writing Mach-O files for the Lisp spaces. o Initial support for reading a Mach-O executable to find and map the Lisp spaces.
Config.x86_common: o Use += to append to variables instead of setting them. o Add common OS_SRC files. o Move rule for building e_rem_pio2.c to here. Add CPPFLAGS too. Config.x86_common: o Remove common files from OS_SRC. o Remove rele for e_rem_pio2.c Config.x86_darwin: o Update to use Config.x86_common. GNUmakefile: o Use CPPFLAGS when building version.o
Support building and running on OSX 10.4 (Tiger). lisp/Config.x86_darwin: o Add -mmacosx-version-min=10.4 so the C code can run on Tiger. lisp/Darwin.c: lisp/x86-lispregs.h: o The mcontext slot names have a prefix of "__" on 10.5, but have no prefix on 10.4. Add #define's to make the source code work on either.
Clean up Config, like in linux_gencgc, removing LINKAGE, GENCGC, and SSE2 flags, and adding them to RUNTIME.
Enable SSE2 when either FEATURE_X87 or FEATURE_SSE2 is set so the C runtime will always support SSE2.
Merge in SSE2 changes from sse2-packed-branch (tag sse2-packed-2008-11-12).
Minor tweaks. o Add mode line for emacs o Use FEATURE_LINKAGE_TABLE and FEATURE_GENCGC to enable/disable the appropriate flags.
Compile e_rem_pio2.c with -fno-strict-aliasing.
Import x86 Darwin port.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|