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 

Any good IDES that work well with ps2dev?

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



Joined: 26 Jun 2006
Posts: 275

PostPosted: Mon Jun 26, 2006 7:01 am    Post subject: Any good IDES that work well with ps2dev? Reply with quote

I just installed ps2dev, are there any good ides that support it out of the box/with a plugin or will have to make do with notepad?

May as well ask while I'm here, any good obscure tutorials on ps2dev?
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Mon Jun 26, 2006 7:04 am    Post subject: Reply with quote

forgot to say, I'm using a prebuild (2nd of jun ver) toolchain, not cygwin.
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Mon Jun 26, 2006 8:39 am    Post subject: Reply with quote

http://www.volny.cz/molej/mdswrap/ heres a nice guide on setting up mingw developer studio ide(Not by me), works fine with the prebuild sdk. well it compiled fine, my brother has my ps2 till tomorrow so i can't test the elf yet.

-Edit- Bah, it doesn't actually produce an elf for me despite compiling and linking fine. Anyone else followed this tutorial and ran into the same prob?
Back to top
View user's profile Send private message
SSpeare



Joined: 23 May 2006
Posts: 63

PostPosted: Tue Jun 27, 2006 4:17 am    Post subject: Reply with quote

If your IDE can use a makefile to compile, then it can be used. You can edit the files in any application of course. What do you want from an IDE? I use either vi or MSVStudio 2005. But I still make from the command line because it works just fine.
Back to top
View user's profile Send private message Visit poster's website
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Tue Jun 27, 2006 8:45 pm    Post subject: Reply with quote

Hi,

My problem is I have little to no experience with make files, so I ideally want something that can either generate a makefile for me, or comes with one already made.

Did you see the MingW Developer Studio guide one? I used that and it worked, it compiled fine but it produces no output file, even though it succesfully links. Any idea how to fix that?
Out of interest, what Ide do you use?

If my only option is to make my own makefiles, are there any for this(i.e ps2 dev using the toolchain) I could use to learn from? I've only ever used smart ides like VC++, VC#, BlitzMax, none of which require makefile manipulation. I guess I'll have to adjust to console development one step at a time :)
Back to top
View user's profile Send private message
SSpeare



Joined: 23 May 2006
Posts: 63

PostPosted: Tue Jun 27, 2006 11:44 pm    Post subject: Reply with quote

Just copy one of the samples in ps2sdk and start messing with it. The only time you need to touch the Makefile is when you add a new file to your project. That happens only occasionally most of the time. All you do then is just add the new file to the list that exists in the Makefile and you're done.

As I said previously, I use VI pretty often. Sometimes I boot up Visual Studio C++ 2005 and use that to edit my code. But I just use it as a fancy text editor. It doesn't compile my code or anything. I'm sure it's possible to get VC++ to use your Makefile if you like hitting F7 instead of typing "make" but I haven't looked into it. It wouldn't really change anything, though.
Back to top
View user's profile Send private message Visit poster's website
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Tue Jun 27, 2006 11:56 pm    Post subject: Reply with quote

Ok sounds reasonable, I'm just put off my commandline stuff since I never had a pc in the days of dos (Points to space where amiga used to sit)
didn't get into the pc scene until win98 was already out.

One silly question, but how do I actually invoke the makefile? I've installed ps2dev fully using xorloser's latest windows installer, but does it include the make tool? Do I have to cd to a certain dir?

I'd be grateful if you could run me through the steps to compile the simpliest app, the hello world one, I can take things from there I think.
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Wed Jun 28, 2006 12:00 am    Post subject: Reply with quote

ok I just tried 'make' in the commandline and sure enough it was found, so I cd'ed to the helloworld dir and typed 'make makefile' but it then says
"make:nothing to be done for "makefile""

am I missing a parameter or two or using the wrong version of make?
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Wed Jun 28, 2006 12:02 am    Post subject: Reply with quote

oh d'uh, I had to just cd to the dir and run make with no pars. It worked to a degree, but it produced an ERL instead of an elf.

Are erl's essentially elfs?(I.e can I safely rename the extension?) or do I have to alter the makefile to produce an elf?

I'm using a ps2 emulator atm which only has elf loading, then i'll be using ps2link when my replacement apapter gets here if it makes a diff.
Back to top
View user's profile Send private message
misfire



Joined: 06 Sep 2004
Posts: 120
Location: Germany

PostPosted: Wed Jun 28, 2006 12:19 am    Post subject: Reply with quote

An ERL file is a relocatable ELF file.

To compile a "normal" ELF file, simply open the makefile in a text editor and replace EE_ERL with EE_BIN.


Last edited by misfire on Wed Jun 28, 2006 12:22 am; edited 1 time in total
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Wed Jun 28, 2006 12:21 am    Post subject: Reply with quote

ok, thanks for the help. giving it a go now.
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