query
On this page

gnuNetBSDDefaultExecFormat

lib.systems.parse.gnuNetBSDDefaultExecFormat

Docs pulled from | This Revision | 10 minutes ago


GNU build systems assume that older NetBSD architectures are using a.out.


Noogle detected

Implementation

The following is the current implementation of this function.

gnuNetBSDDefaultExecFormat =
    cpu:
    if
      (cpu.family == "arm" && cpu.bits == 32)
      || (cpu.family == "sparc" && cpu.bits == 32)
      || (cpu.family == "m68k" && cpu.bits == 32)
      || (cpu.family == "x86" && cpu.bits == 32)
    then
      execFormats.aout
    else
      execFormats.elf;