cygwin help

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
outa control
Posts: 5
Joined: Mon Mar 21, 2005 12:12 pm

cygwin help

Post by outa control »

Hey im just starting to use cygwin and im a real noob, ive setup the cygwin environment and im trying to run mips64r5900-sf-elf-gdb debugger the instructions say:
1. Copy mips64r5900-sf-elf-gdb.exe to you ee/bin folder (e.g. on my system it's c:\cygwin\usr\local\ps2dev\ee\bin).
2. Make a link with "ln -s mips64r5900-sf-elf-gdb.exe ee-gdb.exe" and you should be ready to go.

There's a ps2.cmd command file there to try out. It loads the stub, inserts a breakpoint and continues execution to that
breakpoint. Launch with "ee-gdb -x ps2.cmd".
So i put "ln -s mips64r5900-sf-elf-gdb.exe ee-gdb.exe" into cygwin and i get this:
ln: creating symbolic link `ee-gdb.exe' to `mips64r5900-sf-elf-gdb.exe': File exists
I think that worked, but then i put in "ee-gdb -x ps2.cmd" to try and run the debugger and i get this:
bash: ee-gdb: command not found
Can somebody help me?
ubergeek42
Posts: 83
Joined: Wed Jul 13, 2005 12:25 am

Post by ubergeek42 »

looks to me like your path is set up wrong, im not familiar with the debugger, but it seems to me that you need to add the ee/bin folder to your path.
outa control
Posts: 5
Joined: Mon Mar 21, 2005 12:12 pm

Post by outa control »

hmm i think ive figured it out but now i need my ps2's ip address what is the best way to find this out?
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

You provide it.
Shoot Pixels Not People!
Makeshift Development
outa control
Posts: 5
Joined: Mon Mar 21, 2005 12:12 pm

Post by outa control »

but i dont know what it is
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

You are the one that decides it, based upon your network setup.
Shoot Pixels Not People!
Makeshift Development
outa control
Posts: 5
Joined: Mon Mar 21, 2005 12:12 pm

Post by outa control »

ok do i need to boot any files/elf's on my ps2 for the debugger to work, because i tried two things:

i had my ps2 just switched on and i tried to use the debugger i typed

target remote 192.168.0.1:12

and i got Connection Timed Out

So i tried starting an online game on my ps2 so the network adapter would activate but then i get Connection Refused

btw my ps2 is connected to my ps2 via a crossover cable and i use internet connection sharing
outa control
Posts: 5
Joined: Mon Mar 21, 2005 12:12 pm

Post by outa control »

anyone?
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

You sound like you are trying to hack official games here, we don't do that here.
Shoot Pixels Not People!
Makeshift Development
Post Reply