QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

[HOW TO] Multiple Cygwin Installs on single Windows machine

This is a discussion on [HOW TO] Multiple Cygwin Installs on single Windows machine within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Well, I thought this would be helpful Just move or rename cygwin folder to what location. [ex: C or D:\CygwinPSP] ...

Reply
 
LinkBack Thread Tools
Old 02-18-2008, 07:33 AM   #1

Developer
 
Mr305's Avatar
 
Join Date: Nov 2006
Posts: 1,521
Trader Feedback: 0
Arrow [HOW TO] Multiple Cygwin Installs on single Windows machine

Well,
I thought this would be helpful

Just move or rename cygwin folder to what location. [ex: C or D:\CygwinPSP]

Then Modify cygwin.bat to this:

Example:
Code:
@echo off

D:
chdir D:\cygwinPSP\bin

umount -s --remove-all-mounts
mount -s -b -f d:\cygwinPSP\bin /bin
mount -s -b -f d:\cygwinPSP\etc /etc
mount -s -b -f d:\cygwinPSP\lib /lib
mount -s -b -f d:\cygwinPSP\usr /usr
mount -s -b -f d:\cygwinPSP\var /var
mount -s -b -f d:\cygwinPSP\home /home
mount -s -b -f d:\ /
mount -s -b -f d:\cygwinPSP\bin /usr/bin
mount -s -b -f d:\cygwinPSP\lib /usr/lib
mount -c -s /cygdrive
mount -c -u /cygdrive

set PSPDEV=/usr/local/pspdev
set PSPSDK=/usr/local/pspdev
set path=/usr/local/pspdev/bin;%path%

bash --login -i

pause
For each installation modify batch file to point to new location

Especially useful when you work on other platforms not just for PSP , to prevent any conflicts or just to stay on safe side.
Mr305 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-18-2008, 08:34 AM   #2
 
Join Date: Jan 2008
Posts: 612
Trader Feedback: 0
Default

Remind me why exactly you might need multiple cygwin installs.
TurtlesPwn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-18-2008, 09:40 AM   #3

Developer
 
Mr305's Avatar
 
Join Date: Nov 2006
Posts: 1,521
Trader Feedback: 0
Default

Quote:
Originally Posted by TurtlesPwn
Remind me why exactly you might need multiple cygwin installs.
It's useful when u want to have multiple toolchains of different platforms setup [XDK, ARM, etc]

You ofcourse dont need PSP* variables in batch file.
Mr305 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-19-2008, 02:05 AM   #4

Developer
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,317
Trader Feedback: 0
Default

You can install multiple toolchains on the same Cygwin install but have separate .bats to start it up if need be. I used to have the same cygwin install for PC, GP2X and PSP.
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
cygwin , installs , machine , multiple , single , windows

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 03:07 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us