Changeset 12261


Ignore:
Timestamp:
Jun 12, 2009, 5:08:23 PM (10 years ago)
Author:
gb
Message:

Stop pretending to support OSX 10.3.9 on ppc32 (it's unknown whether
we actually did so and we checked for at least 10.4 on startup; that
mostly means "use dlopen/dlsym/dladdr instead of the old NeXT
equivalents.)

Location:
trunk/source/lisp-kernel
Files:
3 edited

Legend:

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

    r10670 r12261  
    5959        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
    6060.c.o:
    61         $(CC) -c -arch ppc $< $(CDEFINES) $(CDEBUG) $(COPT) -Wno-deprecated-declarations -mmacosx-version-min=10.3.9 $(MDYNAMIC_NO_PIC) -o $@
     61        $(CC) -c -arch ppc $< $(CDEFINES) $(CDEBUG) $(COPT) -Wno-deprecated-declarations -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk $(MDYNAMIC_NO_PIC) -o $@
    6262
    6363SPOBJ = ppc-spjump.o ppc-spentry.o  ppc-subprims.o
  • trunk/source/lisp-kernel/plbt.c

    r11623 r12261  
    2222
    2323#ifdef DARWIN
    24 #ifndef PPC64
     24#if 0
    2525#undef undefined
    2626#include <stdint.h>
     
    154154      spname = (char *)(info.dli_sname);
    155155#ifdef DARWIN
    156 #ifdef PPC64
    157156      if (spname[-1] != '_') {
    158157        --spname;
    159158      }
    160 #endif
    161159#endif
    162160    }
  • trunk/source/lisp-kernel/pmcl-kernel.c

    r12197 r12261  
    9393Boolean running_under_rosetta = false;
    9494
    95 #if WORD_SIZE == 64 || defined(X8632)
    96 /* Assume that if the OS is new enough to support PPC64/X8664, it has
    97    a reasonable dlfcn.h
    98 */
    9995#include <dlfcn.h>
    100 #endif
    10196#endif
    10297
     
    19941989xGetSharedLibrary(char *path, int *resultType)
    19951990{
    1996 #if defined(PPC) && (WORD_SIZE == 32)
     1991#if 0
    19971992  NSObjectFileImageReturnCode code;
    19981993  NSObjectFileImage              moduleImage;
     
    22522247#endif
    22532248#ifdef DARWIN
    2254 #if defined(PPC64) || defined(X86)
     2249#if 1
    22552250  if ((handle == NULL) || (handle == ((void *) -1))) {
    22562251    handle = RTLD_DEFAULT;
Note: See TracChangeset for help on using the changeset viewer.