Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 12 Mar 2001 15:52:10 -0500 From: Christopher Faylor To: Cygwin-Mailing-List Subject: Re: gcc-2.95.2-9 - invalid cpp spec string Message-ID: <20010312155210.A10453@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Cygwin-Mailing-List References: <3AACE7BD DOT 6B75B12A AT mip DOT sdu DOT dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3AACE7BD.6B75B12A@mip.sdu.dk>; from fonseca@mip.sdu.dk on Mon, Mar 12, 2001 at 04:14:05PM +0100 On Mon, Mar 12, 2001 at 04:14:05PM +0100, Ren? M?ller Fonseca wrote: >I just installed gcc-2.95.2-9 and have found the spec string for 'cpp' >to be invalid. The option -mwin32 is not being substituted. > >I'm getting the following error: > > g++ -mno-cygwin -mthreads main.cpp > cpp.exe: Invalid option `-mwin32' > >One solution would be to insert the conditional text of the `%'-sequence >for 'mwin32' directly into the `%'-sequence for 'mno-cygwin'. > >Another solution, which I prefer, is to replaced the `%'-sequence >"%{mwin32:...}" with "%{mwin32|mno-cygwin:...}". I've refreshed gcc with ^^^^^^^^^^^^^^^^^^ this change. It should be on mirrors soon. You'll have to force the installation to get the newer version since I didn't bump the -9 to a -10. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple