[GUIDE] Setting up development environment for compiling custom firmwares on *nix

Discussion in '3DS - Tutorials' started by Pokéidiot, Jun 4, 2016.

?

Did it work?

  1. Yes, Ubuntu.

    1 vote(s)
    100.0%
  2. Yes, Linux Mint.

    0 vote(s)
    0.0%
  3. Yes, on other Debian derivation.

    0 vote(s)
    0.0%
  4. Yes, on other *nix.

    0 vote(s)
    0.0%
  5. No, on Debian derivation.

    0 vote(s)
    0.0%
  6. No, on other *nix.

    0 vote(s)
    0.0%
Multiple votes are allowed.
  1. Pokéidiot
    OP

    Pokéidiot GBAtemp Regular

    Member
    244
    129
    Dec 6, 2015
    Brazil
    \n?
    This guide will assist you through setting up environment to build custom firmwares *nix distributions. As usual, you will need build tools (gcc, ld, etc.) and devkitPRO installed. None of the tools that CFW sources uses on their build scripts (like armips) are currently precompiled for linux on their respective repos, so we'll build each.

    Building and installing "armips"

    Building and installing "makerom"

    Building and installing "bin2c"

    Afterall
     
  2. Pokéidiot
    OP

    Pokéidiot GBAtemp Regular

    Member
    244
    129
    Dec 6, 2015
    Brazil
    \n?
    bump
     
  3. GorrillaRIBS

    GorrillaRIBS Gigyas became tame

    Member
    127
    31
    Nov 15, 2015
    Canada
    Fourside
    Useful, but what about devkitARM? Isn't that also a requirement?
     
  4. Pokéidiot
    OP

    Pokéidiot GBAtemp Regular

    Member
    244
    129
    Dec 6, 2015
    Brazil
    \n?
    devkitARM is included on devkitpro, and this is a requirement for compiling all kinds of homebrew. My guide only instruct how to install requirements for compiling custom firmwares. Plus, devkitpro installing it's covered here, on GBAtemp wiki.
     
  5. GorrillaRIBS

    GorrillaRIBS Gigyas became tame

    Member
    127
    31
    Nov 15, 2015
    Canada
    Fourside
    Awesome, thanks!
     
  6. cearp

    cearp the ticket master

    Member
    7,482
    4,714
    May 26, 2008
    Tuvalu
    why bump 1.5 hours later??
    anyway, hope it helps someone