I just wanna compile an ELF.
I have the complete source and an installed PS2-SDK (from www.xorloser.com ).
What must I do?
|
|
|
|
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! | ||
|
|
I just wanna compile an ELF.
I have the complete source and an installed PS2-SDK (from www.xorloser.com ).
What must I do?
navigate to where the makefile is and type 'make'
id try with the samples first.
Which exe should I use?
What, if there is no makefile? :-/
Code:gcc test.c -o test.elf // For the processor of the machine you compile onCode:iop-gcc test.c -o test.irx // For the PS2 IOPCode:ee-gcc test.c -o test.elf // For the PS2 processor
Last edited by barf; 09-15-2006 at 03:56 PM.
Where can i get the sdk and toolchain for mac os x and how to install it?
Oni
@barf: Does this works with the Win32 PS2SDK, too?
I have no clue what works in windows; as I do not use it;
however it works in MacOS X, linux and QNX.
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.
ee-gcc is for compiling ELFs
iop-gcc is for compiling IRXs
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.
| « Previous Thread | Next Thread » |