X-Spam-Check-By: sourceware.org Message-ID: <43D29625.E8C1C228@dessent.net> Date: Sat, 21 Jan 2006 12:14:29 -0800 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: g++: installation problem, cannot exec 'cc1plus': No such file or directory when using -mno-cygwin References: 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-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 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 -- 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/