Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Tue, 6 May 2003 17:34:30 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Tracing down problem when compiling GCC 3.3 under cygwin PR 10626 Message-ID: <20030506213430.GB10709@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <41D1051F31A2674C99E41CA28EE73498018C5F AT isp-ex2k DOT intellimade DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41D1051F31A2674C99E41CA28EE73498018C5F@isp-ex2k.intellimade.net> User-Agent: Mutt/1.4.1i On Tue, May 06, 2003 at 07:48:07PM +0200, ?yvind Harboe wrote: >I am experiencing an intermittant problem when compiling GCC 3.3 >under CygWin. > >When I reported it to the GCC guys, I was asked to elaborate >but my CygWin/Linux skills are too limited to be of much help. > > > >Basically there is a GCC script "install-sh" that fails intermittantely >under CygWin. > >Please find more information in GCC bug-report. > >http://gcc.gnu.org/cgi-bin/gnatsweb.pl > >PR 10626 >Here is a bit more information that probably illustrates the problems >that >install-sh is running into under CygWin: > >Session from CygWin shell. "cp" understands the ".exe" extensions, >but "mv" gets confused. > >oharboe AT lair ~ >$ ls >arm armscripts ecos gcc-install.log gcc33 mingw >src >armgdb32 armsize foobar.exe gcc-make.log gdbtk.ini scripts > >oharboe AT lair ~ >$ mv foobar barfoo >mv: preserving times for `barfoo': No such file or directory >mv: preserving ownership for `barfoo': No such file or directory >mv: cannot unlink `foobar': No such file or directory >mv: cannot remove `foobar': No such file or directory > >oharboe AT lair ~ >$ cp foobar barfoo > >oharboe AT lair ~ >$ > > > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&database=3D= >g >cc&pr=3D10626=20 > > >=D8yvind > State-Changed-From-To: open->feedback State-Changed-By: bajo State-Changed-When: Tue May 6 10:59:02 2003 State-Changed-Why: > Would you please elaborate on how this is a GCC bug? > It looks more like a Cygwin bug to me... AFAICT, install-sh should never be asked to install an executable which lacks an .exe when the executable was built with a .exe extension. So, the fact that sometimes it "works" is a red herring. As you noted, cp has limited support for copying .exe files and mv has none. It really is up to gcc to accommodate that by specifying the .exe extension in all cases. That's the whole point of having an install-sh script. It's supposed to be accommodating of system pecularities. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/