X-Spam-Check-By: sourceware.org Message-ID: <46434A09.314C2671@dessent.net> Date: Thu, 10 May 2007 09:36:25 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: gcc packaging bug [was: Re: can not exec cc1.exe] References: <4642612E DOT F1914D13 AT dessent DOT net> <464293F4 DOT 6C621FE4 AT dessent DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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 Jim Marshall wrote: > all of the mingw directories were still there. I manually deleted all > the files in these directories (/usr/i686-pc-mingw and > /usr/lib/gcc/i686-pc-mingw32). I then reran the cygwin setup and had it > install the mingw tools. This fixed the problem. I am presuming that the > setup was not actually erasing the mingw files from the HD (as evidenced > by what I saw) so that was causing the problem in that when setup was > not properly over-writing the existing files. I'm glad it's now fixed. But for the mingw-gcc-* packages, setup does not actually create or delete any of those links, it is all done by postinstall/preremove files. If you take a look (see /etc/{preremove,postinstall}/gcc-mingw*) you will see that the preremove script only deletes the files contained in the manifest, and the symlinks are not included there; and the postinstall only tries to create the symlinks if they don't exist. This could be considered a slight packaging bug I suppose, since once created, those symlinks will never be removed/recreated on reinstalls. Brian -- 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/