X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sat, 3 Nov 2007 22:21:54 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: GCC 4.2.2 with -mno-cygwin Message-ID: <20071104022154.GB6236@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Sat, Nov 03, 2007 at 08:59:12AM -0700, n DOT torrey DOT pines AT gmail DOT com wrote: >I compiled and installed GCC 4.2.2 in /usr/local seemingly >successfully. However, using -mno-cygwin, I get an error: > >$ gcc -mno-cygwin hello_world.c >gcc: error trying to exec 'cc1': execvp: No such file or directory > >Indeed, /usr/local/lib/gcc/i686-pc-mingw32 is missing altogether, and >/usr/local/lib/gcc/i686-pc-cygwin/4.2.2/ does not contain cc1. > >Should I have taken some special steps during the configuration to >enable -mno-cygwin? I couldn't find any information about this. You should just be able to install the correct gcc/mingw packages but whatever you install, no cygwin package puts stuff in /usr/local. -- 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/