Bug in configure.in

Martin Kahlert martin.kahlert@infineon.com
Tue Apr 16 08:01:00 GMT 2002


Hi!
The newest snapshot refuses to build libgcj on my Solaris box
(sparcv9-sun-solaris2.7)

I assume it's because config.guess now uses sparcv9 instead of plain sparc.

This is the patch i use, but no idea, whether it's correct:

*** gcc-20020415.old/configure.in	Mon Apr 15 20:59:13 2002
--- gcc-20020415/configure.in	Tue Apr 16 15:57:09 2002
***************
*** 1010,1018 ****
             use_gnu_ld=no
      fi
      ;;
!   sparc-*-solaris*)
      case "${host}" in
!     sparc-*-solaris2.8)
        # According to Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>, libjava
        # won't build correctly on Solaris 8 if there's a
        # previously-installed version of GCC in the configured prefix.
--- 1010,1018 ----
             use_gnu_ld=no
      fi
      ;;
!   sparc*-*-solaris*)
      case "${host}" in
!     sparc*-*-solaris2.8)
        # According to Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>, libjava
        # won't build correctly on Solaris 8 if there's a
        # previously-installed version of GCC in the configured prefix.

-- 
The early bird catches the worm. If you want something else for       
breakfast, get up later.



More information about the Java mailing list