This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]