Skip to content
Snippets Groups Projects
  • Dark Kirb's avatar
    e9a12683
    Add DevkitPPC support · e9a12683
    Dark Kirb authored
    DevkitPPC does not support unix sockets natively, meaning that bindings
    to these functions was removed for powerpc targets with "nintendo" as
    vendor.
    
    Suggested target json files:
    
    Nintendo Gamecube:
    ```
    {
      "arch": "powerpc",
      "data-layout": "E-m:e-p:32:32-i64:64-n32",
      "dynamic-linking": false,
      "env": "newlib",
      "executables": true,
      "has-elf-tls": false,
      "has-rpath": true,
      "linker-flavor": "gcc",
      "llvm-target": "powerpc-eabi",
      "max-atomic-width": 32,
      "os": "dolphin",
      "target-c-int-width": "32",
      "target-endian": "big",
      "target-family": "unix",
      "target-mcount": "_mcount",
      "target-pointer-width": "32",
      "vendor": "nintendo"
    }
    ```
    
    Nintendo Wii:
    ```
    {
      "arch": "powerpc",
      "data-layout": "E-m:e-p:32:32-i64:64-n32",
      "dynamic-linking": false,
      "env": "newlib",
      "executables": true,
      "has-elf-tls": false,
      "has-rpath": true,
      "linker-flavor": "gcc",
      "llvm-target": "powerpc-eabi",
      "max-atomic-width": 32,
      "os": "revolution",
      "target-c-int-width": "32",
      "target-endian": "big",
      "target-family": "unix",
      "target-mcount": "_mcount",
      "target-pointer-width": "32",
      "vendor": "nintendo"
    }
    ```
    e9a12683
    History
    Add DevkitPPC support
    Dark Kirb authored
    DevkitPPC does not support unix sockets natively, meaning that bindings
    to these functions was removed for powerpc targets with "nintendo" as
    vendor.
    
    Suggested target json files:
    
    Nintendo Gamecube:
    ```
    {
      "arch": "powerpc",
      "data-layout": "E-m:e-p:32:32-i64:64-n32",
      "dynamic-linking": false,
      "env": "newlib",
      "executables": true,
      "has-elf-tls": false,
      "has-rpath": true,
      "linker-flavor": "gcc",
      "llvm-target": "powerpc-eabi",
      "max-atomic-width": 32,
      "os": "dolphin",
      "target-c-int-width": "32",
      "target-endian": "big",
      "target-family": "unix",
      "target-mcount": "_mcount",
      "target-pointer-width": "32",
      "vendor": "nintendo"
    }
    ```
    
    Nintendo Wii:
    ```
    {
      "arch": "powerpc",
      "data-layout": "E-m:e-p:32:32-i64:64-n32",
      "dynamic-linking": false,
      "env": "newlib",
      "executables": true,
      "has-elf-tls": false,
      "has-rpath": true,
      "linker-flavor": "gcc",
      "llvm-target": "powerpc-eabi",
      "max-atomic-width": 32,
      "os": "revolution",
      "target-c-int-width": "32",
      "target-endian": "big",
      "target-family": "unix",
      "target-mcount": "_mcount",
      "target-pointer-width": "32",
      "vendor": "nintendo"
    }
    ```