X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Wed, 16 Dec 2009 07:07:44 -0600 Message-ID: <90871a3a0912160507m4811f152v9a6b5d3e505ef0b1@mail.gmail.com> Subject: gcc-3 won't compile after cygwin upgrade (cygwin1.dll hiding) From: David Nelson To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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 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* -- David -- Live from Goats Roost -- 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