Devkit ppc issues

Discussion in 'Wii - Hacking' started by jtjj222, Nov 14, 2010.

  1. jtjj222
    OP

    jtjj222 Member

    Newcomer
    23
    0
    Nov 9, 2010
    Canada
    how do i install and use devkit ppc for linux? Ive tried the guide but it didn't work. Aso, can someone help me add devkit to code::blocks as the c compiler?
    thanks in advance...
     
  2. giantpune

    giantpune GBAtemp Addict

    Member
    2,860
    122
    Apr 10, 2009
    United States
    devkit PPC has its own compilers... gcc, g++. you can use any IDE you want, but you must use PPC (cross)compilers.
     
  3. jtjj222
    OP

    jtjj222 Member

    Newcomer
    23
    0
    Nov 9, 2010
    Canada
    how?
     
  4. Category

    Category Trainee Romhacker

    Member
    241
    15
    Jan 29, 2008
    Bournemouth
    For starters, look at the wiibrew page for linux setup. At the bottom of the page, there are some alternate installation systems (which are useful as the current build scripts seem pretty borked on Ubuntu 10.10). I found this script as the only reliable one I've found.

    The only issue is that it doesn't setup the environment variables correctly - open the .bashrc file in your home directory, and add theses lines to the bottom:-
    Code:
    EXPORT DEVKITPRO=/home/your-user-name/devkitPro
    EXPORT DEVKITPPC=$DEVKITPRO/devkitPPC
    Now the make files should all work correctly.


    PM me if you have any issues. I'm new to Wii development, but not to linux.


    edit: Spelling errors, broken link.
     
  5. jtjj222
    OP

    jtjj222 Member

    Newcomer
    23
    0
    Nov 9, 2010
    Canada
    thanks
    ill try that. if it doesnt work, ill use vbox to load xp and compile my projects like that