public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc-2.95.2-9 - invalid cpp spec string
@ 2001-03-12  7:10 René Møller Fonseca
  2001-03-12 12:52 ` Christopher Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: René Møller Fonseca @ 2001-03-12  7:10 UTC (permalink / raw)
  To: Cygwin-Mailing-List

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc-2.95.2-9 - invalid cpp spec string
  2001-03-12  7:10 gcc-2.95.2-9 - invalid cpp spec string René Møller Fonseca
@ 2001-03-12 12:52 ` Christopher Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Faylor @ 2001-03-12 12:52 UTC (permalink / raw)
  To: Cygwin-Mailing-List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-12 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-12  7:10 gcc-2.95.2-9 - invalid cpp spec string René Møller Fonseca
2001-03-12 12:52 ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).