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 

How to use the toolchain? [Split from GCC Building Issue]

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



Joined: 29 Apr 2006
Posts: 10

PostPosted: Sat Apr 29, 2006 9:43 am    Post subject: Reply with quote

hello,
i'm new to the ps2dev scene... i dloaded cygwin with the mentioned packages and then compiled the ps2sdk with the toolchain.sh file... now how do i run the package n how do i start writing some code?... when i click on nething from the ee or iop folder(any exe), then i get the error cygwin1.dll not found..wat could be causing this? i dont wanna dload cygwin again as i have a slow net connection and that would take lot of time.. any suggestions..?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
dlanor



Joined: 28 Oct 2004
Posts: 269
Location: Stockholm, Sweden

PostPosted: Sat Apr 29, 2006 6:33 pm    Post subject: Reply with quote

xmOD wrote:
hello,
i'm new to the ps2dev scene... i dloaded cygwin with the mentioned packages and then compiled the ps2sdk with the toolchain.sh file... now how do i run the package n how do i start writing some code?...
I'm not sure exactly what you mean, as the gnu compilers for PS2Dev accept the same kind of C/C++ source texts as they do for other platforms. Just edit sources in a normal text editor and you should be fine.

If you really meant how to get into PS2 methods for doing things in a program, then the best way of all to learn is to study existing sources, which are available in plentiful supply. Newer ones are to be preferred of course, as old sources often rely on old and outmoded libs...

Quote:
when i click on nething from the ee or iop folder(any exe), then i get the error cygwin1.dll not found..wat could be causing this? i dont wanna dload cygwin again as i have a slow net connection and that would take lot of time.. any suggestions..?
This problem is probably due to your not having added the Cygwin/bin/ path to the PATH variable of Windows, causing it to fail finding the Cygwin DLLs. This is something you really don't have to do, if you make sure to always start all these tools through bash instead, just like you must have done when executing the toolchain script.

Of course, it can be much more convenient to use drag-drop methods, and for that purpose I have designed a set of Windows BAT scripts that invoke bash with appropriate .SH scripts to perform many standard tasks, such as "make clean" or "make all" (applied to a drag-dropped makefile of course).

I'll send these to you in a normal email (as discussed previously).

Best regards: dlanor
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Sun Apr 30, 2006 12:18 am    Post subject: Reply with quote

keep in mind the gnu tools are not gui tools, they are command line tools. They are not intended to be clicked; they are intended to be run with arguments from a command line.

To get started with ps2dev you should really read up a little on how to use the gnu toolchain.... Of course, assume makefiles are setup correctly, it really comes down to just being in a bash shell and typing 'make' in your project directory...


[NOTE] Split to it's own topic, as it was offtopic in the current thread.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
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