This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem building 3.4.3 on solaris 8



I am trying to build gcc-3.4.3 on solaris 8. I get to the make install point
and then there is a problem. It appears the INSTALL variable is not getting
set right for the install step in the various directories.

I have the source in ..../gcc-3.4.3 and the build dir is ..../gcc-3.4.3_sun5.8

Here is the first error. Notice the the gcc src tree is one level higher then
the install path is specifying.

make install
/bin/sh ../gcc-3.4.3/mkinstalldirs /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3 /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3
make[1]: Entering directory `/proj/wdtold/warrend/gnusrc_new/000030-gcc-3.4.3/gcc-3.4.3_wdt_tmp_sun5.8/gcc'
if [ -f specs.ready ] ; then \
        true; \
else \
        echo timestamp > specs.ready; \
fi
mkdir -p /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin
if [ -f gnat1 ] ; \
 then \
  if [ -f gnatbind-cross ] ; \
  then \
    rm -f /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/sparc-sun-solaris2.8-gnatbind; \
    ../gcc-3.4.3/install-sh -c gnatbind-cross /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/sparc-sun-solaris2.8-gnatbind; \
    if [ -d /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/sparc-sun-solaris2.8/bin/. ] ; then \
      rm -f /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/sparc-sun-solaris2.8/bin/gnatbind; \
      ../gcc-3.4.3/install-sh -c gnatbind-cross /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/sparc-sun-solaris2.8/bin/gnatbind; \
    fi; \
  else \
    rm -f /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/gnatbind; \
    ../gcc-3.4.3/install-sh -c gnatbind /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/gnatbind; \
  fi ; \
fi
/bin/sh: ../gcc-3.4.3/install-sh: not found
make[1]: [ada.install-common] Error 1 (ignored)



Looking at the Makefile in ..../gcc-3.4.3_sun5.8/gcc it has 

INSTALL = ../../gcc-3.4.3/gcc/../install-sh -c

which is correct. So I assume that the INSTALL variable is being overwritten
from the main Makefile.

If you need more information let me know. 


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