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
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>, gcc at gcc dot gnu dot org, config-patches at gnu dot org, Eric Botcazou <ebotcazou at libertysurf dot fr>
- Date: 19 Jun 2003 14:56:15 -0700
- Subject: Re: sparc-sun-solaris versus sparc64-sun-solaris
- References: <Pine.LNX.4.44.0306191734280.32504-100000@ops2.one-point.com>
On Thu, 2003-06-19 at 14:39, 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-*-*.
How exactly is one supposed to "configure as sparc64-*-*"?
I tried "--target=sparc64-sun-solaris2.9" and it tried to build a cross
compiler; it didn't want to use ordinary "as" and so forth.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com