X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 16 Dec 2009 11:20:42 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: gcc-3 won't compile after cygwin upgrade (cygwin1.dll hiding) Message-ID: <20091216162042.GD31219@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <90871a3a0912160507m4811f152v9a6b5d3e505ef0b1 AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <90871a3a0912160507m4811f152v9a6b5d3e505ef0b1@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Wed, Dec 16, 2009 at 07:07:44AM -0600, David Nelson wrote: >There is no question; only a report. > >I re-installed a new version of Cygwin (into f:\cygwin) after a recent >but long overdue >upgrade of the "base" caused 'makes' on my C project to begin failing >in strange ways. >The details of the failures are lost to my memory since I began >hunting around on this for several >weeks, but involved make [***] "Error 1" with no more details. > >When I discovered the simplest helloworld.c would not >compile--although gcc-3 compeleted with >no errors, but with no .o or .exe either--I rolled back cygwin and >gcc-3 to their immediately prior >versions. > >When that failed too, I uninstalled f:\cgywin entirely, including the >HKLM, HKCU entries >for Cygnus Solutions. I reinstalled the latest version, along with gcc-3. > >Still, gcc-3 helloworld.c in the new install failed the same way: no >errors, no output. > >Searching the web and the Cygwin archvies turned up: > cygcheck -svrh gcc-3 [thank you!] >which reported that f:/cygwin/bin/cygwin1.dll was hiding c:\windows\cygwin1.dll. > >"Good," I thought "new should hide old." > >However, renaming /bin/cygwin1.dll to /bin/cygwin1.dll_ to unhide the >older version >resulted in gcc-3 succeeding. > >ListDLLS (from sysinternals.com) cannot come up with a version number >in /bin/cygwin1.dll, >but says c:\windows\cygwin1.dll is 1005.25.0000.0000. > >However, ls -l shows: >$ ls -l /bin/cygwin1.dll_ >-rwxr-x---+ 1 adm Users 1872884 Jun 12 2008 /bin/cygwin1.dll_* > >$ ls -l /cygdrive/c/windows/cygwin1.dll >-rwx------+ 1 adm None 1873396 Mar 5 2008 /cygdrive/c/windows/cygwin1.dll* The correct thing to do here is *remove* c:/windows/cygwin1.dll. Otherwise you will have strange problems every time you install a new version of cygwin. cgf -- 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