delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/12/10:29:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT 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 AT mip DOT sdu DOT 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 AT cygwin DOT com>
Subject: gcc-2.95.2-9 - invalid cpp spec string

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

- Raw text -


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