Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • rtoy's avatar
    aa09793a
    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
    History
    Add support for executable stuff using Sun C on sparc. The executable
    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.