X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A563EE1.3060906@gmail.com> Date: Thu, 09 Jul 2009 20:02:57 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin Build Error References: <4A55F146 DOT 4020904 AT byu DOT net> <4A5632A2 DOT 9040906 AT biyani DOT org> In-Reply-To: <4A5632A2.9040906@biyani.org> Content-Type: multipart/mixed; boundary="------------080808080100070908020104" 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 --------------080808080100070908020104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Jacob Jacobson wrote: > Thanks. I created symbolic links to gcc-4 & have gotten further. Now > I get error below. Do I need to install "i686-pc-mingw32" ? > /c/home/wrk/cygwin/src/winsup/utils/mingw: couldn't find i686-pc-mingw32 > directory Nah. It got confused by whatever links you made. Instead, take a look at the attached scripts; they use the alternatives system to switch your default gcc compiler between gcc-3 and gcc-4 transparently. cheers, DaveK --------------080808080100070908020104 Content-Type: text/plain; name="set-gcc-default-3.sh" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="set-gcc-default-3.sh" #!/bin/bash # We only switch the alternatives that exist for both compilers; # gdc, gpc, g77 and gfortran never get switched. for x in gcc g++ gcj gnat ; do /usr/sbin/alternatives --set $x /usr/bin/$x-3.exe done --------------080808080100070908020104 Content-Type: text/plain; name="set-gcc-default-4.sh" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="set-gcc-default-4.sh" #!/bin/bash # We only switch the alternatives that exist for both compilers; # gdc, gpc, g77 and gfortran never get switched. for x in gcc g++ gcj gnat ; do /usr/sbin/alternatives --set $x /usr/bin/$x-4.exe done --------------080808080100070908020104 Content-Type: text/plain; charset=us-ascii -- 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 --------------080808080100070908020104--