------- Comment #6 from joseph at codesourcery dot com 2009-06-18 21:49 ------- Subject: Re: -std=c99 does not enable c99 mode in Solaris C library
On Thu, 18 Jun 2009, heydowns at borg dot com wrote: > Was looking at modifying the spec to produce the desired results and > contribute > patch, however ran into trouble trying to match options containing literal > colons (-std=iso9899:199409) in %{S:X} style spec. > > Is there a way in the spec language to escape colons? I briefly scanned the > spec parsing code and nothing jumped out. > > If not, is there some other way to match options containing colons (without > using greedy * matches, since the part after the colon is significant here...) You may well need to add a new feature to the specs parsing code to deal with this. I have some ideas about how option handling, multilib handling and some aspects of specs should be redesigned, but this issue should not need any redesign. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411