This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sparc-sun-solaris versus sparc64-sun-solaris
On Thu, Jun 19, 2003 at 05:39:22PM -0400, Jeff Sturm wrote:
> 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?
In my view, the default should not be changed: as it is, we build a
compiler that can generate either 32-bit or 64-bit code (with -m64
switch).