> When I execute ./configure I receve this message:
> loading cache ./config.cache
> checking host system type... sparc-sun-solaris2.7
> checking cached information... ok
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... no
> configure: error: installation or configuration problem: C compiler cannot
> create executables.

In addition to those hints already provided on the list (you must have
header files and stuff in /usr/ccs) I'd like to point out that SSH-2.x
configure script assumes a little bit too much under Solaris 7. The script
reads:

case "$target" in
  # On sparc machines with solaris 2.7 check for sun4u, in which case
  # we use lp64

  sparc-*-solaris2.7|sparc-*-solaris2.8)
           if test "`uname -m`" = "sun4u"; then
             DEFAULT_ADDR_MODEL=lp64
           fi
           ;;
esac

It should be noted that Solaris can be booted in either 32- or 64-bit
mode on Ultra and `uname -m` = sun4u does *not* tell you wich version
of currently booted, isalist does. It should also be noted that it's
32-bit version which is installed/recommended/booted by default on
UltraSPARC-1-based workstations.

Further it reads:

if test "$ac_cv_prog_gcc" = "yes"; then
    case "$target/$ADDR_MODEL" in
        sparc-*/lp64)
            KERN_CFLAGS="$KERN_CFLAGS -m64"
            ;;

It should be noted that gcc is *not* capable of generating 64-bit
object modules for Solaris. Well, gcc support for 64-bit SPARC is
rather poor in overall. Basically there is no working run-time
environment (not under Linux nor Solaris) and the only fully
functional 64-bit SPARC program compiled with gcc so far is
Linux kernel.

Cheers. Andy.

Reply via email to