This is the mail archive of the gcc@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]

Re: sparc-sun-solaris versus sparc64-sun-solaris


On Thu, 19 Jun 2003, Gerald Pfeifer wrote:
>      sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
> -	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
> +	case `isainfo` in
> +	    *sparcv9*) MODE="64" ;;
> +	    *) MODE="" ;;
> +	esac
> +	echo sparc${MODE}-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`

Traditionally, Solaris users always get a compiler that creates 32-bit
executables, unless they compile with -m64 or configure as sparc64-*-*.

Changing that default would likely be very surprising to those users.  Is
it worth doing?

Jeff


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