Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • emarsden's avatar
    7df69e0b
    · 7df69e0b
    emarsden authored
    On Linux/AMD64, we need to tell the platform linker to use the 32-bit
    linking mode instead of the default 64-bit mode. This can be done either
    via the LDEMULATION environment variable, or via the "-m" command-line
    option.
    
      - in EXT:LOAD-FOREIGN, add LDEMULATION=elf_i386 to the environment
        inherited by the linker
    
    This assumes that the LDEMULATION environment variable will be ignored by
    the platform linker on Linux/i386 platforms.
    7df69e0b
    History
    emarsden authored
    On Linux/AMD64, we need to tell the platform linker to use the 32-bit
    linking mode instead of the default 64-bit mode. This can be done either
    via the LDEMULATION environment variable, or via the "-m" command-line
    option.
    
      - in EXT:LOAD-FOREIGN, add LDEMULATION=elf_i386 to the environment
        inherited by the linker
    
    This assumes that the LDEMULATION environment variable will be ignored by
    the platform linker on Linux/i386 platforms.