Devkit ppc issues

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

Nov 14, 2010

Devkit ppc issues by jtjj222 at 2:33 AM (912 Views / 0 Likes) 4 replies

  1. jtjj222
    OP

    Newcomer jtjj222 Member

    Joined:
    Nov 9, 2010
    Messages:
    23
    Country:
    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

    Member giantpune GBAtemp Addict

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    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

    Newcomer jtjj222 Member

    Joined:
    Nov 9, 2010
    Messages:
    23
    Country:
    Canada
  4. Category

    Member Category Trainee Romhacker

    Joined:
    Jan 29, 2008
    Messages:
    233
    Location:
    Bournemouth
    Country:
    United Kingdom
    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

    Newcomer jtjj222 Member

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

Share This Page