Setting up cygwin using Windows XP
Setting up cygwin using Windows XP
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.
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.
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...
You might want to take a look at This thread, which just happens to be a sticky at the top of this same board...
Shoot Pixels Not People!
Makeshift Development
Makeshift Development
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.
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.
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:
Worked for me.
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"
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.
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.