Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3AACE7BD.6B75B12A@mip.sdu.dk>
Date: Mon, 12 Mar 2001 16:14:05 +0100
From: =?iso-8859-1?Q?Ren=E9=20M=F8ller?= Fonseca <fonseca@mip.sdu.dk>
Organization: MIP, University of Southern Denmark
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Cygwin-Mailing-List <cygwin@cygwin.com>
Subject: gcc-2.95.2-9 - invalid cpp spec string
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi,

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:...}".

René

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

