We now have different GCC versions on Solaris 9 and Solaris 10 hosts. This means, that we can't have a common OS-release-independent setting in GAR that will work for both systems.<div><br></div><div>Perhaps we need something like this?<br>
<div><br></div><div><div><font face="'courier new', monospace">diff --git a/gar/v2/<a href="http://gar.conf.mk">gar.conf.mk</a> b/gar/v2/<a href="http://gar.conf.mk">gar.conf.mk</a></font></div><div><font face="'courier new', monospace">index 6f3fc18..112cbdc 100644</font></div>
<div><font face="'courier new', monospace">--- a/gar/v2/<a href="http://gar.conf.mk">gar.conf.mk</a></font></div><div><font face="'courier new', monospace">+++ b/gar/v2/<a href="http://gar.conf.mk">gar.conf.mk</a></font></div>
<div><font face="'courier new', monospace">@@ -539,7 +539,9 @@ SOS12U1_CC_HOME ?= /opt/studio/sunstudio12.1</font></div><div><font face="'courier new', monospace"> SOS12U2_CC_HOME ?= /opt/solstudio12.2</font></div>
<div><font face="'courier new', monospace"> SOS12U3_CC_HOME ?= /opt/solarisstudio12.3</font></div><div><font face="'courier new', monospace"> </font></div><div><font face="'courier new', monospace">- GCC4_VERSION ?= 4.6</font></div>
<div><font face="'courier new', monospace">+ GCC4_VERSION_5.9 ?= 4.6</font></div><div><font face="'courier new', monospace">+ GCC4_VERSION_5.10 ?= 4.7</font></div><div><font face="'courier new', monospace">+ GCC4_VERSION = $(GCC4_VERSION_$(GAROSREL))</font></div>
<div><font face="'courier new', monospace"> </font></div><div><font face="'courier new', monospace"> GCC3_CC ?= $(GCC3_CC_HOME)/bin/gcc</font></div><div><font face="'courier new', monospace"> GCC4_CC ?= $(GCC4_CC_HOME)/bin/gcc-$(GCC4_VERSION)</font></div>
</div><div><br></div></div><div>In “real life” we'd also need to handle the 5.11 case.</div><div><br></div><div>Maciej</div>