This is the mail archive of the 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: successful build of 3.0.4 on sparcv9-sun-solaris2

On Thu, Mar 07, 2002 at 09:00:30AM -0600, Douglas L Stewart wrote:
> config.guess says sparc-sun-solaris2.8 but I forced it to build
> sparcv9-sun-solaris2 because I wanted a 64 bit compiler.

GCC 3.0.4 does not support 64-bit sparc binaries.  From the file
INSTALL/specific.html in the GCC 3.0.4 tree:

  <p>Starting with Solaris 7, the operating system is capable of executing
  64-bit SPARC V9 binaries.  GCC 3.0 doesn't properly support this yet.
  Although some patches or recipes to enable this support have been posted
  to various newsgroups and mailing lists, we recommend against using
  them, since the compiler may either crash or, worse, silently generate
  bad code.  If you really need this capability now, you might try a CVS
  version of GCC 3.1, which will fully support this.  If all you want is
  code tuned for the UltraSPARC CPU, you should try the
  <code>-mtune=ultrasparc</code> option instead, which should be safe from
  those bugs and produce code that, unlike full 64-bit code, can still run
  on non-UltraSPARC machines.
> $ gcc -v
> Reading specs from
> /opt/local/lib/gcc-lib/sparcv9-sun-solaris2/3.0.4/specs
> Configured with: ../gcc-3.0.4/configure --prefix=/opt/local
> sparcv9-sun-solaris2
> Thread model: posix
> gcc version 3.0.4

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