Skip to content
Snippets Groups Projects
  1. Aug 14, 2007
    • rtoy's avatar
      Add support for executable stuff using Sun C on sparc. The executable · aa09793a
      rtoy authored
      appears to be created successfully, and you can do things, but it is
      not usable.
      
      lisp/elf.h:
      o Set C_COMPILER to either "cc" or "gcc".  We use gcc everywhere,
        except if the C compiler is Sun C on sparc.
      
      lisp/elf.c:
      o Print out C_COMPILER as the first arg to the linker script.
      
      tools/linker.sh:
      o Rearrange code so test for number of args is done first.
      o Look at the first arg to determine the C compiler used.  If gcc, use
        the original code.  Add new code to support Sun C.
      aa09793a
  2. Jul 24, 2007
    • rtoy's avatar
      Add initial support executables on Solaris with gcc. Executables are · 9072cd2c
      rtoy authored
      created and will run, but you can't load new files.  Still needs work.
      
      src/exec-init.c:
      o New file that defines builtin_image_flag and initial_function_addr,
        instead of being defined in lisp.c
      
      code/sunos-os.lisp:
      o Register the :executable feature if needed.
      
      lisp/GNUmakefile:
      o Add exec-init.c to list of src files.
      o Remove exec-init.o from lisp.a when building on Solaris.
      
      lisp/elf.c:
      o Port the elf code to Solaris.
        - Basically set up the correct values for the elf header and
          sections.
        - The ELF core sections on Solaris don't have valid addresses so we
          explicitly set them when mapping the core sections.
      
      lisp/elf.h
      o Use SOLARIS instead of sparc.
      
      lisp/lisp.c:
      o builtin_image_flag and initial_function_addr moved to exec-init.c.
      
      tools/linker.sh:
      o Support Solaris
      
      tools/make-main-dist.sh:
      o Support Solaris
      
      tools/SunOS-cmucl-linker-script:
      o New file for SunOS executable.
      9072cd2c
  3. Jul 09, 2007
  4. Jul 07, 2007
Loading