delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/21/16:27:08

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Simon Lam <cryxia AT gmail DOT com>
Subject: Re: g++: installation problem, cannot exec 'cc1plus': No such file or directory when using -mno-cygwin
Date: Sun, 22 Jan 2006 10:27:13 +1300
Lines: 34
Message-ID: <dqu8u7$ndg$1@sea.gmane.org>
References: <dqu2r0$5sn$1 AT sea DOT gmane DOT org> <43D29625 DOT E8C1C228 AT dessent DOT net>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
In-Reply-To: <43D29625.E8C1C228@dessent.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Brian Dessent wrote:
> Simon Lam wrote:
> 
> 
>>I am having an issue using the -mno-cygwin flag with g++/gcc. From what
>>I have read in the archives, you need to gcc-mingw installed to have it
>>working, however I do have it installed - see attached cygcheck.out.
> 
> 
> The mingw parts of the compiler are actually only extracted/installed in
> the postinstall of the gcc-mingw-* packages.  So it looks like for
> whatever reason your postinstall did not complete.
> 
> You should have a number of /etc/postinstall/gcc-mingw-*.sh.done files -
> if any of them are not named .done then that indicates an installation
> problem.  You will have to debug further to find out why these
> postinstall scripts are failing, but as a practical matter you should be
> able to just set all the gcc-mingw-* packages to "reinstall" in
> setup.exe to force them to rerun.
> 
> I also notice that you have text mode mounts -- this probably is
> irrelevent to your problem but it would be the first thing I would
> change if I were trying to troubleshoot.
> 
> Brian
> 

Sweet - that worked out ok. I wasn't sure if it was me having it in text 
mode, or that I overlooked reinstalling gcc-mingw-* (I thought I did 
reinstall those...), but reinstall and setting it to binary mode worked 
for me (I changed both options, so I am not sure what the fix was...).

 >Thanks a lot
 >Simon


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019