Hello,

gmake install currently fails for me on mainline on solaris 10 if I use the
default /bin/sh shell. The problem is with this line of gcc/Makefile.in:

SYSTEM_HEADER_DIR = `echo @SYSTEM_HEADER_DIR@ | sed -e :a -e "s,[^/]*/\.\.\/,,"
-e ta`

this variable is used inside double quotes, and solaris /bin/sh parses "`""`"
as two strings containing a backquote (or something else, but not what you
would expect anyway). I believe using single quotes in this line would help (I
did not redo the whole configure+bootstrap, but I checked that solaris sh
understood the modified line).


-- 
           Summary: double quotes in Makefile confuse solaris /bin/sh
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marc dot glisse at normalesup dot org
  GCC host triplet: i386-pc-solaris2.10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30083

Reply via email to