X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A733E16.6050901@cygwin.com> Date: Fri, 31 Jul 2009 14:55:18 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: New machine, new Cygwin instillation, target triple mess References: <68F7F68A08864AF49CF090D1361CBF40 AT HPLAPTOP> In-Reply-To: <68F7F68A08864AF49CF090D1361CBF40@HPLAPTOP> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 07/31/2009 07:05 AM, Aaron Gray wrote: > Hi, > > I have just installed Cygwin on my new machine with a new harddrive, on > Vista. > > I had the old harddrive working with my old Cygwin instillation working > on this machine, with Vista. Target triple was fine. What's a "Target triple"? > Questions :- > > How do I get my old Cygwin Instillation to work for my E: drive, I could > not see anything in the Windows Registry to change to deal with this. I > changed the shortcut over to drive E, but Cygwin just bombs out. > > How do I check a target triple from Cygwin, I found 'uname' but it was > giving me i686, and so unknown values. > > I really need to get my old Cygwin working, and to know about anything > like installing Cygwin on a new 4 CPU AMD machine could effect the arget > triple generation. My WAG is it's your mounts. Type "mount -m >/tmp/mounts", edit that file in an editor that will not introduce carriage returns, remove all lines that don't contain a drive designation, copy the rest and create duplicates. In the first set of duplicated commands, change "mount" to "umount". In the second set, change all the drive designations (i.e. 'C:') to the drive you want (i.e. 'E:'). Save the file and exit. Move '/tmp/mounts' to the directory containing 'cygwin1.dll' (i.e. "E:\cygwin\bin'). Open a 'cmd.exe' console and 'cd' to the same directory. Type 'bash', followed by 'chmod +x mounts', followed by 'mounts'. This should unmount references to your old installation location and then mount the new one. Delete 'mounts'. If the above doesn't work or you have other questions, please use the problem reporting guidelines found at the link below. > Problem reports: http://cygwin.com/problems.html -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple