X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Jim Marshall <jim.marshall@wbemsolutions.com>
Subject:  Re: can not exec cc1.exe
Date:  Thu, 10 May 2007 10:09:24 -0400
Lines: 32
Message-ID: <f1v92k$9fd$1@sea.gmane.org>
References:  <f1ti79$6rc$1@sea.gmane.org> <4642612E.F1914D13@dessent.net> <f1u0q8$a7e$1@sea.gmane.org> <464293F4.6C621FE4@dessent.net>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
In-Reply-To: <464293F4.6C621FE4@dessent.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Brian Dessent wrote:
> Jim Marshall wrote:
> 
>> Here is the cygcheck -svr output.
> 
> Hmm, you're using a local NTFS drive and $CYGWIN is not set to anything
> strage.  So no more clues there.
> 
> What are the attributes of the .lnk files?  What happens if you manually
> delete them and recreate them as working symlinks by hand?
> 
> Brian
> 
Brian,
  Again many thanks for the help. I manually created the links and it 
resulted in the same behavior.I did some more looking around and it 
appeared that the /usr/lib/gcc/3.4.4/i686-pc-mingw directory suffered 
the same problem (it had .lnk files). So I went into the cygwin 
setup.exe and uninstalled all of the mingw stuff.  Setup complained that 
parts of the main gcc stuff required mingw tools, I unchecked the box so 
that setup would remove the mingw stuff anyway. When I looked on the HD 
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.

Again thanks.
-Jim



--
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/

