SUMMARY: Problems compiling on Sparc III and running on Sparc II

From: Debbie Tropiano <>
Date: Tue Oct 23 2001 - 16:39:16 EDT
Folks -

Lots of good fast replies (as usual).  Thanks so much.


My original query:
|| Along our continuing saga of moving to Sun/Solaris, the question
|| has been raised about using a Sparc III system as a development
|| server for software that we plan to run on Sparc II systems.
|| Has anyone encountered problems with this?  Or does it really run
|| as "advertised" and life is good.  Is there anything "special" that 
|| needs to be done?  Any other comments?

Casper says:
> As long as you make sure you don't  generate US-III specific (VIS 3.0?) code;
> i.e., don't use any of the -xnative flags, you should be fine.
> Many of us at Sun build kernels and OS code on US-III systems and run
> it on older SPARC systems.

Ray McCaffity:
> We usually have tro set compiler flags specific for the platform
> we are compiling for.  i.e....
> CC=gcc CFLAGS="-O4 -mcpu=v9 -Wa,-xarch=v8plusa" \
> CXX=gcc CXXFLAGS="-O4 -felide-constructors -fno-exceptions -fno-rtti
> -mcpu=v9 -Wa,-xarch=v8plusa"       -xarch=v9
> v9 vs v8plusa  in the example above for an ultrasparc.

We will be running the same version of the OS an all platforms
(which was what most of the other responses mentioned).

David Harrington:
> I would suggest you consider that development on the faster, newer box may
> give you performance throughputs/outputs that may not be matched in the
> production environment.
> And as a rule, the newer version will support all the functionality of the
> previous versions (Anything Microsoft, and Sun OS - Solaris are exceptions).
> The other direction I would plan on problems and test extensively.

Matthew Stier:
> Will the UltraSPARC II system be running the same OS as the UltraSPARC III
> system?  In 64Bit mode?

David Foster:
> I don't think this should be a problem, things really are very
> binary compatible. But I would make sure that you are running
> the same version of Solaris on each system...this is where you
> can run into problems, especially if you try to run a Solaris 8
> binary on a Solaris 2.6 system, for example.

+== Debbie Tropiano ==  Mommy to Nathan 8/17/95 & ^Sara^ 10/25/00-11/7/00 ==+
|	God shows His opposition to cancer and birth defects, not by        |
|	eliminating them or making them happen only to bad people (He       |
|	can't do that), but by summoning forth friends and neighbors to     |
|	ease the burden and to fill the emptiness.  -- Harold S. Kushner    |
+==  =============  URL ==+
Received on Tue Oct 23 21:39:16 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:34 EDT