forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Please help me with PS2DEV

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Derek8588



Joined: 22 Oct 2004
Posts: 62

PostPosted: Sun Oct 24, 2004 2:06 pm    Post subject: Please help me with PS2DEV Reply with quote

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.
Back to top
View user's profile Send private message
boomint



Joined: 13 Apr 2004
Posts: 80
Location: Sheffield, UK

PostPosted: Mon Oct 25, 2004 1:10 am    Post subject: Reply with quote

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.
_________________
--( someone stole my sig! )--
Back to top
View user's profile Send private message
mharris



Joined: 25 Jan 2004
Posts: 155
Location: Annapolis, MD, USA

PostPosted: Thu Oct 28, 2004 1:10 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
Derek8588



Joined: 22 Oct 2004
Posts: 62

PostPosted: Sat Nov 06, 2004 11:18 am    Post subject: SO what is better? Reply with quote

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
Back to top
View user's profile Send private message
Shazz



Joined: 31 Aug 2004
Posts: 244
Location: Somewhere over the rainbow

PostPosted: Sat Nov 06, 2004 8:19 pm    Post subject: Reply with quote

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 !
_________________
- TiTAN Art Division -
http://www.titandemo.org
Back to top
View user's profile Send private message Visit poster's website
Derek8588



Joined: 22 Oct 2004
Posts: 62

PostPosted: Tue Nov 09, 2004 5:07 pm    Post subject: ok Reply with quote

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.
Back to top
View user's profile Send private message
mharris



Joined: 25 Jan 2004
Posts: 155
Location: Annapolis, MD, USA

PostPosted: Thu Nov 11, 2004 6:45 am    Post subject: Reply with quote

*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.
Back to top
View user's profile Send private message AIM Address
Ozzy



Joined: 22 Nov 2004
Posts: 1
Location: greece

PostPosted: Mon Nov 22, 2004 6:14 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group