Please help me with PS2DEV
Please help me with PS2DEV
ok..... I downloaded and installed PS2DEV which includes all the things i need which is the GCC compilers (iop, ee, and dvp) and the ps2lib, share, and readme folers. Now i dont know what to do from here. When i open some of the programs under the gcc folders it opens Windows DOS and either stays open or closes. Therefore im lost. How do i use the programs? And another thing... when i write my program do i write it in a seperate software such as Bloodsheds DEV C++ (also supports C) and compile the source file i make with the ones that came with PS2DEV....? or do i use a program included with PS2DEV to write and compile my program? Thanks for your time and effort on helping me.
Start by reading through some of the background material in the threads in this forum!
http://forums.ps2dev.org/viewforum.php?f=9
Also good for getting started:
http://www.oopo.net/consoledev/
You will need to compile your sources using the supplied compilers and tools. Not just any native win32 C/C++ devenv as the binaries are incompatible.
http://forums.ps2dev.org/viewforum.php?f=9
Also good for getting started:
http://www.oopo.net/consoledev/
You will need to compile your sources using the supplied compilers and tools. Not just any native win32 C/C++ devenv as the binaries are incompatible.
--( someone stole my sig! )--
You write and edit your sources and makefiles using whatever text editor makes you happy -- notepad, eclipse, etc. I'm now using eclipse as an IDE with a certain degree of success.
Since all of the tools (compilers, linkers, etc.) are command line based -- not windows apps -- you'll need to do them from a DOS prompt (or you can configure eclipse or whatever to do it for you). It should just be a matter of typing 'make' at the command line if you've set up everything correctly. When you're done, you should have an .elf file, which is your PS2 executable.
You'll still need a loader (pksh, inlink, etc.) to get the excutable onto your PS2. See http://ps2dev.org/kb.x?T=863 for some.
Since all of the tools (compilers, linkers, etc.) are command line based -- not windows apps -- you'll need to do them from a DOS prompt (or you can configure eclipse or whatever to do it for you). It should just be a matter of typing 'make' at the command line if you've set up everything correctly. When you're done, you should have an .elf file, which is your PS2 executable.
You'll still need a loader (pksh, inlink, etc.) to get the excutable onto your PS2. See http://ps2dev.org/kb.x?T=863 for some.
SO what is better?
whats the diffirence between notepad and eclipse then? Coud i use DEV C++ made by bloodshed software? It supports C and C++. or does it really matter? thanks
Personnaly I use Dev C++, but I did not try to really set up a true Dev C++/ee-gcc environment, I simply ask Dev C++ to DO NOT try to compile by itself but use the makefile from the ps2sdk with the associated binutils... and like that it is working without troubles (except Dev C++ bugs :D )
Have phun !
Have phun !
- TiTAN Art Division -
http://www.titandemo.org
http://www.titandemo.org
ok
Thank you for your help. Now the last major thing that im still confused about is how to actually use the utilities in ps2dev. I know mharris posted and said i run it from the Windows DOS prompt but i dont understand exactly what to type in and how i would use DOS to use the ps2dev compiler, linker, ect to compile my C source code. Im not sure if there is a tutorial on how to do this, but if there is, that would be very helpful. Do the tutorials on the ps2dev website explain how to do this? thanks again for being patient with me. Its jus alot of the details about actually running ps2dev components with DOS successfully are not available... at least from what iv seen. If there is good info about how to do thi?, I would be greatful. Once again thanks for your time and patience.
*IF* (and this is a big if) your development system is set up properly, here's all you should need to do:
1. [open a DOS window]
2. cd \my\project\directory
3. make
You should be rewarded with a .elf file.
Now this assumes a lot of things: everything's been installed, your makefile is valid, the necessary environment variables are set (at the minimum, this will be PATH, and you'll probably need PS2SDK as well, but it depends on the makefile).
Obviously, there are lots of other programs (ee-gcc, ee-as, iop-ld, iop-objdump, etc.) but you really only need to use them in the context of the makefile. You could run 'ee-gcc' from the command line, but there are so many command-line parameters you need to pass to it, that it's better to avoid entirely, IMHO.
1. [open a DOS window]
2. cd \my\project\directory
3. make
You should be rewarded with a .elf file.
Now this assumes a lot of things: everything's been installed, your makefile is valid, the necessary environment variables are set (at the minimum, this will be PATH, and you'll probably need PS2SDK as well, but it depends on the makefile).
Obviously, there are lots of other programs (ee-gcc, ee-as, iop-ld, iop-objdump, etc.) but you really only need to use them in the context of the makefile. You could run 'ee-gcc' from the command line, but there are so many command-line parameters you need to pass to it, that it's better to avoid entirely, IMHO.
HI,
i'm also trying to use PS2DEV..
Unfortunately when compiling my makefiles (which are working for others plateforms and systems based on GCC)
GCC 3.3.1 (cygmin special) from PS2DEV complains about an installation problem where CC1.exe is not present ('not such a file or directory')
Btw it looks present into a subdir of iop but for a 3.2.2 gcc branch (?)
any help?
i'm also trying to use PS2DEV..
Unfortunately when compiling my makefiles (which are working for others plateforms and systems based on GCC)
GCC 3.3.1 (cygmin special) from PS2DEV complains about an installation problem where CC1.exe is not present ('not such a file or directory')
Btw it looks present into a subdir of iop but for a 3.2.2 gcc branch (?)
any help?