[csw-devel] SF.net SVN: gar:[15699] csw/mgar/gar/v2/gar.conf.mk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Sep 21 12:10:57 CEST 2011


Revision: 15699
          http://gar.svn.sourceforge.net/gar/?rev=15699&view=rev
Author:   wahwah
Date:     2011-09-21 10:10:57 +0000 (Wed, 21 Sep 2011)
Log Message:
-----------
mGAR v2: Using the new GCC layout

In the new layout, GCC versions are distinguished by the binary suffix, not by
the installation prefix.  For example, it's not /opt/csw/gcc4/bin/gcc any more
but /opt/csw/bin/gcc-4.6 instead.

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.conf.mk

Modified: csw/mgar/gar/v2/gar.conf.mk
===================================================================
--- csw/mgar/gar/v2/gar.conf.mk	2011-09-21 09:54:00 UTC (rev 15698)
+++ csw/mgar/gar/v2/gar.conf.mk	2011-09-21 10:10:57 UTC (rev 15699)
@@ -466,28 +466,30 @@
 #
 
    GCC3_CC_HOME ?= /opt/csw/gcc3
-   GCC4_CC_HOME ?= /opt/csw/gcc4
+   GCC4_CC_HOME ?= /opt/csw
   SOS11_CC_HOME ?= /opt/studio/SOS11/SUNWspro
   SOS12_CC_HOME ?= /opt/studio/SOS12/SUNWspro
 SOS12U1_CC_HOME ?= /opt/studio/sunstudio12.1
 
+   GCC4_VERSION ?= 4.6
+
      GCC3_CC ?= $(GCC3_CC_HOME)/bin/gcc
-     GCC4_CC ?= $(GCC4_CC_HOME)/bin/gcc
+     GCC4_CC ?= $(GCC4_CC_HOME)/bin/gcc-$(GCC4_VERSION)
     SOS11_CC ?= $(SOS11_CC_HOME)/bin/cc
     SOS12_CC ?= $(SOS12_CC_HOME)/bin/cc
   SOS12U1_CC ?= $(SOS12U1_CC_HOME)/bin/cc
     GCC3_CXX ?= $(GCC3_CC_HOME)/bin/g++
-    GCC4_CXX ?= $(GCC4_CC_HOME)/bin/g++
+    GCC4_CXX ?= $(GCC4_CC_HOME)/bin/g++-$(GCC4_VERSION)
    SOS11_CXX ?= $(SOS11_CC_HOME)/bin/CC
    SOS12_CXX ?= $(SOS12_CC_HOME)/bin/CC
  SOS12U1_CXX ?= $(SOS12U1_CC_HOME)/bin/CC
     GCC3_F77 ?= $(GCC3_CC_HOME)/bin/g77
-    GCC4_F77 ?= $(GCC4_CC_HOME)/bin/gfortran
+    GCC4_F77 ?= $(GCC4_CC_HOME)/bin/gfortran-$(GCC4_VERSION)
    SOS11_F77 ?= $(SOS11_CC_HOME)/bin/f77
    SOS12_F77 ?= $(SOS12_CC_HOME)/bin/f77
  SOS12U1_F77 ?= $(SOS12U1_CC_HOME)/bin/f77
      GCC3_FC ?= $(GCC3_CC_HOME)/bin/g77
-     GCC4_FC ?= $(GCC4_CC_HOME)/bin/gfortran
+     GCC4_FC ?= $(GCC4_CC_HOME)/bin/gfortran-$(GCC4_VERSION)
     SOS11_FC ?= $(SOS11_CC_HOME)/bin/f95
     SOS12_FC ?= $(SOS12_CC_HOME)/bin/f95
   SOS12U1_FC ?= $(SOS12U1_CC_HOME)/bin/f95

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list