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]

problem in egcs-20000605/configure.in


Hello.

I'm trying to build egcs-20000605 on HI-UX/WE2 running on Hitachi 3050RX
machine and found a problem in egcs-20000605/configure.in.

The following code in  egcs-20000605/configure.in (at line 232)
causes that host_makefile_frag is set to " config/mh-hpux", 
therefore ${srcdir}/${host_makefile_frag} is set to "./ config/mh-hpux".

  *-hp-hpux*)
    host_makefile_frag="${host_makefile_frag} config/mh-hpux"
    ;;

So, the following code in egcs-20000605/configure.in (at line 266)
doesn't work.

  if [ -z "${found}" ] && [ -n "${host_makefile_frag}" ] && [ -f "${srcdir}/${host_makefile_frag}" ]; then
    xx=`sed -n -e 's/^[         ]*CC[   ]*=[    ]*\(.*\)$/\1/p' < ${srcdir}/${host_makefile_frag}`
    if [ -n "${xx}" ] ; then
      CC=$xx 
    fi
  fi  

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