Simplistic build works, then fails to find cc1plus on its own
when using g++

SunOS cairo 5.10 Generic_138888-08 sun4u sparc SUNW,Sun-Fire-280R

~:cairo> ../gcc-4.3.4/configure --prefix=/cairo/tmp/jblaine \
         --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld \
         --disable-shared --without-gnu-ld --without-gnu-as
...
~:cairo> make bootstrap
...
~:cairo> make install
...

~:cairo> which g++
/cairo/tmp/jblaine/bin/g++
~:cairo>

~:cairo> g++ --version
g++ (GCC) 4.3.4
...

~:cairo> g++ -shared foo.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
~:cairo>

~:cairo> find /cairo/tmp/jblaine -name cc1plus
/cairo/tmp/jblaine/libexec/gcc/sparc-sun-solaris2.10/4.3.4/cc1plus
~:cairo>


-- 
           Summary: Simplistic build works, then fails to find cc1plus on
                    its own
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jblaine at mitre dot org


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

Reply via email to