Retro68/nix/platforms.nix
2023-12-26 18:44:00 +01:00

77 lines
1.8 KiB
Nix

{
m68k = {
system = "m68k-macos";
config = "m68k-apple-macos";
libc = null;
parsed = {
cpu = {
name = "m68k";
bits = 32;
significantByte = { name = "bigEndian"; };
family = "m68k";
};
kernel = {
name = "macos";
execFormat = { name = "unknown"; };
};
vendor = { name = "apple"; };
abi = { name = "macos"; };
};
bfdEmulation = "m68k";
isStatic = true;
retro68GccConfig = [ "--with-arch=m68k" "--with-cpu=m68000" ];
retro68 = true;
cmakeSystemName = "Retro68";
};
powerpc = {
system = "powerpc-macos";
config = "powerpc-apple-macos";
libc = null;
parsed = {
cpu = {
name = "powerpc";
bits = 32;
significantByte = { name = "bigEndian"; };
family = "power";
};
kernel = {
name = "macos";
execFormat = { name = "unknown"; };
};
vendor = { name = "apple"; };
abi = { name = "macos"; };
};
isStatic = true;
retro68BinutilsConfig = [ "--disable-plugins" ];
retro68GccConfig = [ "--disable-lto" ];
retro68 = true;
cmakeSystemName = "RetroPPC";
};
carbon = {
system = "powerpc-carbon";
config = "powerpc-apple-macos";
libc = null;
parsed = {
cpu = {
name = "powerpc";
bits = 32;
significantByte = { name = "bigEndian"; };
family = "power";
};
kernel = {
name = "carbon";
execFormat = { name = "unknown"; };
};
vendor = { name = "apple"; };
abi = { name = "macos"; };
};
isStatic = true;
retro68BinutilsConfig = [ "--disable-plugins" ];
retro68GccConfig = [ "--disable-lto" ];
retro68 = true;
cmakeSystemName = "RetroCarbon";
};
}