Page 1 of 1
Setting up cygwin using Windows XP
Posted: Thu Jan 13, 2005 12:59 am
by bbchazz
I have been setting up cygwin over the last few days and finding some errors. Im following the tutorial from internalreality and the first thing I came across was the 'slashes' being different often.
ex. set PS2DEV=C:\cygwin/ps2dev
set PS2GCC=%PS2DEV%/gcc
I tried the test file that comes along with the ps2lib sample file and got an error. I got this fix by changing all the slashes to \ since thats windows and Linux uses /
Now I am getting more errors that will go to much to explain fully right now. What I want to know is has anyone else tried this tutorial successfully and is there any other options to compile source code or will it be easier for me to make a linux partition on my PC and stick with this routine.
Thanks.
Posted: Thu Jan 13, 2005 7:28 am
by bbchazz
Can anyone point me in the right directing...to a tutorial, suggestions, other options...please.
Posted: Thu Jan 13, 2005 8:22 am
by Drakonite
Yes, people have successfully used that tutorial before. I have no idea what it's telling you to do, and I'm not a windows user, so I can't really help say what you are doing wrong ;) Sorry.
You might want to take a look at
This thread, which just happens to be a sticky at the top of this same board...
Posted: Thu Jan 13, 2005 8:55 am
by bbchazz
Thanks,
I will give you a little more information when I get home from work after I run it again.
I have read that tutorial but I thought it was for people putting it on a linux system, I will post again when I can clarify whats going on..worse come to worse I will start from scratch and give it another whirl.
Posted: Thu Jan 13, 2005 11:11 pm
by misfire
With Cygwin installed, you can also use ooPo's toolchain autobuild script:
http://www.oopo.net/consoledev/
After installing I had to add some environment variables to my .bash_profile:
Code: Select all
## PS2DEV SETTINGS
export PS2DEV="/usr/local/ps2dev"
export PS2SDK="$PS2DEV/ps2sdk"
export PATH="$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin"
Worked for me.
Posted: Fri Jan 14, 2005 6:24 am
by bbchazz
Isn't the .bash_profile only available when using Linux?
Posted: Fri Jan 14, 2005 6:37 am
by misfire
Actually, this file comes with Cygwin:
e.g. D:\cygwin\home\misfire\.bash_profile
Posted: Sun Jan 16, 2005 3:56 am
by bbchazz
Ok, everything looks to go just fine until it gets to the following point:
ee-gcc: C:cygwinps2devps2lib/ee/startup/crt0.o: No such file or directory
make: *** [pad.elf] Error 1
Now, I know what looks funny with that, the start of the directory has no slashes but I don't know where this line comes from to fix it.
Posted: Tue Jan 18, 2005 7:24 pm
by misfire
You have to set the PS2LIB environment variable under Win XP:
C:\cygwin\ps2dev\ps2lib
And take care of the backslashes.
Posted: Fri Jan 21, 2005 8:09 am
by bbchazz
thanks for the help..i ended up using the toolchain to set up the env much easier.