Sponsored Links

Sponsored Links

Results 1 to 8 of 8



  1. #1
    Registered User MisSpark's Avatar
    Join Date
    Mar 2010
    Posts
    15
    Sponsored Links

    Post Guide to Setting up the Pre-Compiled PS3 Toolchain

    Sponsored Links
    Hi Everyone,

    Today im going to walk you step by step on how to set up the pre-compiled toolchain after installation on your windows os which on this case im using windows 7 Home edition

    Step 1

    Download ifcaro pre-compiled toolchain from: http://www.ps3news.com/ps3-hacks-jai...-is-available/

    Install the Ps3 Pre-Compiled Toolchain to c:/ps3dev/



    Step 2 (after installation)

    (#1) - Right Click Computer
    (#2) - Click Properties and a window should pop up
    (#3) - Click Advanced System settings and wait for the window to pop up
    (#4) - Now the window say "System Properties" should be up and if your not on the tab Advanced go to it



    (#5) - Click Environment Variables... and a window say Environment Variables should come up

    (#6) - under user variables click New... and new windows say New User Variable should come up

    (#7) - Variables you want to add to user one at a time

    Variable Name | Variable Value
    MSYS - C:\ps3dev\msys;
    PATH - C:\ps3dev\bin;C:\ps3dev\ppu\bin;C:\ps3dev\spu\bin; C:\ps3dev\MinGW\bin;C:\ps3dev\msys\1.0\bin;

    PS3DEV - c:\ps3dev

    copy and paste one by one on PS3DEV c:\ps3dev needs to be entered as it is without a ; or the toolchain will not work

    (#8) - after you have added all the variables click ok and open CMD

    (#9) - now type
    cd ../../ps3dev/ps3sdk/samples/template/elf_template/

    (#10) - now you should be ready to compile your small kernel application for playstation 3 system
    type make



    (NOTE - Reason my say otheros.elf because i modded the makefile i'll add it in this post)

    (#11) - Type ppu-objcopy -O binary template.elf otheros.bin
    this turn your elf file in to a bin file which is short for binary

    (#12) - now you want to gzip it to a bld file but how
    gzip -c9v otheros.bin > otheros.bld
    then compress the file for you and the file should be ready to install on ps3



    (#13) drag other to a external storage device and drag to StorageDevice:/PS3/otheros/otheros.bld and go to your ps3 and install and enjoy

    (extras)
    i added a small package to download which would make compiling more easy just copy and paste to elf_template and include a small otheros demo by me

    Download: http://www.ps3news.com/forums/attach...chmentid=20183
    Attached Images<br><br> Attached Images

    Attached Files Attached Files

  2. #2
    Registered User MisSpark's Avatar
    Join Date
    Mar 2010
    Posts
    15
    Sponsored Links

    Question

    Sponsored Links
    What do you think boss (: good or no ?

  3. #3
    Forum Moderator PS3 News's Avatar
    Join Date
    Apr 2005
    Posts
    27,455
    Sponsored Links
    Sponsored Links
    Quote Originally Posted by MisSpark View Post
    What do you think boss (: good or no ?
    A nice guide indeed MisSpark- Thanks and +Rep!

  4. #4
    Senior Member cfwprophet's Avatar
    Join Date
    Jul 2008
    Posts
    1,815
    Sponsored Links
    Sponsored Links
    Uhm... i dont really understand why this guide is written because when you extract the files you first get a message telling you how to set up the SDK with 5 steps or so.
    To start the environment variables you need to open a command console and run ps3dev.bat

    To compile the ps3sdk you must do the following steps:

    cd ps3sdksrc
    sh bootstrap
    sh configure
    make
    make install
    Or is this to be able to compile on the ps3?
    Last edited by cfwprophet; 03-30-2010 at 07:38 AM

  5. #5
    Senior Member TUHTA's Avatar
    Join Date
    Sep 2008
    Posts
    323

    Wink

    PERFECT!!))

    Well will you show how create, and what type in main.o and main.c or how to create hello world for this SDK (for ps3)

  6. #6
    Registered User MisSpark's Avatar
    Join Date
    Mar 2010
    Posts
    15

    Post

    Quote Originally Posted by cfwprophet View Post
    Uhm... i dont really understand why this guid is written because when you extract the files you first get a message telling you how to set up the SDK with 5 steps or so.

    Or is this to be able to compile on the ps3?
    Many people have a lot of problems setting up the ps3 toolchain look at the post on Pre-compiled toolchain where nzhawk posting about how it took him so long to get it set up and this kinda set everything up where they don't have to re-set back up the paths etc after they restart because if your doing SET PATH = blah blah blah it only a temp var so it not saved. many people don't know how to convert to binary and gzip it to bld file so i hope this is usful to somone.

  7. #7
    Senior Member TUHTA's Avatar
    Join Date
    Sep 2008
    Posts
    323
    Hey guys please help me, i got error like when i'm compiling SOFT GL or MCLOAD it gives me, in the first one demo.elf error and in the second one bootldr.elf error, please help me!

    error like that:

    collect2: ld returned 1 exit status
    make: *** [bootldr.elf] Error 1
    Last edited by TUHTA; 05-24-2010 at 03:15 PM Reason: Automerged Doublepost

  8. #8
    Senior Member TUHTA's Avatar
    Join Date
    Sep 2008
    Posts
    323
    Hmm in this tutorial you didnt say about : INSTALL THIS TOOLCHAIN , that described in readme.txt

    And here is an error in ur tutorial, its really big mistake, you wont be able install toolchain for working with it!

    So this line:
    Code:
    C:\ps3dev\bin;C:\ps3dev\ppu\bin;C:\ps3dev\spu\bin; C:\ps3dev\MinGW\bin;C:\ps3dev\msys\1.0\bin;
    Should be without space between spu/bin;C:/ps3dev.... and PS3DEV - c:\ps3dev should be : PS3DEV - C:\ps3dev

    http://www.ps3news.com/forums/ps3-ha...it-111191.html

    Happy using!

 

Sponsored Links

Tags for this Thread

Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News