c++/605: The '-Y' option on Solaris is broken.

jrw@pobox.com jrw@pobox.com
Wed Oct 4 13:46:00 GMT 2000


>Number:         605
>Category:       c++
>Synopsis:       The '-Y' option on Solaris is broken.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 04 13:46:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     jrw@pobox.com
>Release:        g++ 2.8.1-2.95.2
>Organization:
>Environment:
Solaris
>Description:
Under Solaris, there is an option '-Y' that takes an argument and should be passed unchanged to the linker. The option is implemented, but if there is a space between the -Y and the argument, g++ chokes, but Sun's CC accepts this version. The Makefiles that come with Oracle 8i use the syntax with a space and break using g++.
>How-To-Repeat:
This works:   g++ -YP,$PWD  foo.cpp
This doesn't: g++ -Y P,$PWD foo.cpp
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-bugs mailing list