gnuNetBSDDefaultExecFormat
lib.systems.parse.gnuNetBSDDefaultExecFormat
Docs pulled from | This Revision | 15 minutes ago
Nixpkgs manual
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.bits == 32
&& (cpu.family == "arm" || cpu.family == "sparc" || cpu.family == "m68k" || cpu.family == "x86")
then
execFormats.aout
else
execFormats.elf;