Forum: PS2 Homebrew/Dev & Emu Scene - Topics relating to homebrew PS2 development and emulation. Stay current and up to date on the latest homebrew releases from the best devs on the scene.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: Compiling an ELF
  

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 27
  1. #1 Compiling an ELF 
    TnA's Avatar
    TnA
    TnA is offline Member
    Join Date
    Apr 2005
    Location
    Germany
    Posts
    4,580
    Downloads
    0
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    12
    Likes Received
    30
    I just wanna compile an ELF.

    I have the complete source and an installed PS2-SDK (from www.xorloser.com ).

    What must I do?
    PS2 V7/DMS3 V2 (FW:2.4b7); Seagate Baracuda 200GB
    PS2 V7/CC1.0 (FW:34 hacked v2 BM:2.1.6); Maxtor DiamondMAX9 PLUS 160GB
    PS2 SCPH-30004R; NoMod+NoLaser

    3xSony BBA
    3xSony MC 8MB
    MAX/Datel 16MB with Boot-CD
    MAX/Datel 32MB&64MB

    Custom FMCB 1.8b+ Beta-Build, my AIO 0.5, Sony&xRhino-Linux
    Reply With Quote  

  2. #2  
    ubergeek42 is offline Member
    Join Date
    Jul 2005
    Posts
    194
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    navigate to where the makefile is and type 'make'
    id try with the samples first.
    Reply With Quote  

  3. #3  
    TnA's Avatar
    TnA
    TnA is offline Member
    Join Date
    Apr 2005
    Location
    Germany
    Posts
    4,580
    Downloads
    0
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    12
    Likes Received
    30
    Which exe should I use?

    What, if there is no makefile? :-/
    PS2 V7/DMS3 V2 (FW:2.4b7); Seagate Baracuda 200GB
    PS2 V7/CC1.0 (FW:34 hacked v2 BM:2.1.6); Maxtor DiamondMAX9 PLUS 160GB
    PS2 SCPH-30004R; NoMod+NoLaser

    3xSony BBA
    3xSony MC 8MB
    MAX/Datel 16MB with Boot-CD
    MAX/Datel 32MB&64MB

    Custom FMCB 1.8b+ Beta-Build, my AIO 0.5, Sony&xRhino-Linux
    Reply With Quote  

  4. #4  
    barf's Avatar
    barf is offline This product has been banned!
    Join Date
    Sep 2004
    Location
    /bin/trash
    Posts
    1,676
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Code:
    gcc test.c -o test.elf  // For the processor of the machine you compile on
    Code:
    iop-gcc test.c -o test.irx // For the PS2 IOP
    Code:
    ee-gcc test.c -o test.elf // For the PS2 processor
    Last edited by barf; 09-15-2006 at 03:56 PM.
    Reply With Quote  

  5. #5  
    e-oni's Avatar
    e-oni is offline Member
    Join Date
    Dec 2004
    Location
    Germany
    Posts
    38
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Where can i get the sdk and toolchain for mac os x and how to install it?

    Oni
    PS2 V7, 250GB Samsung HDD, Crystal-Chip 2.0 Pro
    Reply With Quote  

  6. #6  
    TnA's Avatar
    TnA
    TnA is offline Member
    Join Date
    Apr 2005
    Location
    Germany
    Posts
    4,580
    Downloads
    0
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    12
    Likes Received
    30
    @barf: Does this works with the Win32 PS2SDK, too?
    PS2 V7/DMS3 V2 (FW:2.4b7); Seagate Baracuda 200GB
    PS2 V7/CC1.0 (FW:34 hacked v2 BM:2.1.6); Maxtor DiamondMAX9 PLUS 160GB
    PS2 SCPH-30004R; NoMod+NoLaser

    3xSony BBA
    3xSony MC 8MB
    MAX/Datel 16MB with Boot-CD
    MAX/Datel 32MB&64MB

    Custom FMCB 1.8b+ Beta-Build, my AIO 0.5, Sony&xRhino-Linux
    Reply With Quote  

  7. #7  
    barf's Avatar
    barf is offline This product has been banned!
    Join Date
    Sep 2004
    Location
    /bin/trash
    Posts
    1,676
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    I have no clue what works in windows; as I do not use it;
    however it works in MacOS X, linux and QNX.
    Reply With Quote  

  8. #8  
    ubergeek42 is offline Member
    Join Date
    Jul 2005
    Posts
    194
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    im pretty sure its ee-gcc..and you probably won't be able to compile anything useful by simply using ee-gcc, since there are many other options that should be used.

    look at the samples in the ps2sdk folder, and it should make some more sense.
    Reply With Quote  

  9. #9  
    barf's Avatar
    barf is offline This product has been banned!
    Join Date
    Sep 2004
    Location
    /bin/trash
    Posts
    1,676
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    ee-gcc is for compiling ELFs
    iop-gcc is for compiling IRXs
    Reply With Quote  

  10. #10  
    Join Date
    Apr 2005
    Location
    Ky, USA
    Posts
    5,031
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    9
    Likes Received
    40
    I'm also interested in being able to compile elf files, so where my question is, if its easier to compile from linux, and would a version like "Damn Small Linux" work? Also, I"ve been reading in various places about cygwin, ps2sdk, and how some people setup win32 compilers such as bloodshed's c++ and MS Visual studio to work with these programs. I've tried everything I can do this way and haven't got anywhere with it, be it from the command line or through a compiler with gui. As for the Linux way, I've got a spare computer that can be wiped and setup linux, but I want to go as small as download as I can go because my internet connection is patchy. Any sugguestions are appreciated.
    Reply With Quote  

Page 1 of 3 1 2 3 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •