[csw-devel] SF.net SVN: gar:[10956] csw/mgar/pkg/netcdf/branches/gar-fortran/Makefile
gadavis at users.sourceforge.net
gadavis at users.sourceforge.net
Mon Sep 13 18:48:32 CEST 2010
Revision: 10956
http://gar.svn.sourceforge.net/gar/?rev=10956&view=rev
Author: gadavis
Date: 2010-09-13 16:48:31 +0000 (Mon, 13 Sep 2010)
Log Message:
-----------
more tweaks for gcc3
Modified Paths:
--------------
csw/mgar/pkg/netcdf/branches/gar-fortran/Makefile
Modified: csw/mgar/pkg/netcdf/branches/gar-fortran/Makefile
===================================================================
--- csw/mgar/pkg/netcdf/branches/gar-fortran/Makefile 2010-09-13 14:05:15 UTC (rev 10955)
+++ csw/mgar/pkg/netcdf/branches/gar-fortran/Makefile 2010-09-13 16:48:31 UTC (rev 10956)
@@ -11,10 +11,10 @@
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
LICENSE = COPYRIGHT
-RUNTIME_DEP_PKGS = CSWcurlrt CSWhdf5rt CSWgcc4gfortranrt CSWzlib CSWgcc4corert \
- CSWoldaprt CSWlibcares CSWlibidn CSWgcc4g++rt CSWosslrt
+RUNTIME_DEP_PKGS = CSWcurlrt CSWhdf5rt CSWgcc3g77rt CSWzlib CSWgcc3corert \
+ CSWoldaprt CSWlibcares CSWlibidn CSWgcc3g++rt CSWosslrt
-BUILD_DEP_PKGS = $(RUNTIME_DEP_PKGS) CSWtetex CSWgcc4gfortran
+BUILD_DEP_PKGS = $(RUNTIME_DEP_PKGS) CSWtetex CSWgcc3g77
## CFLAGS AND LDFLAGS are necessary due to problems with the fortran bindings when
## building 64-bit
BUILD_ARGS = CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" FFLAGS="$(FFLAGS)" FCFLAGS="$(FCFLAGS)"
@@ -33,15 +33,15 @@
--with-zlib=/opt/csw
## 64 bit build fails in fortran binding tests
-#BUILD64 = 0
+BUILD64 = 1
## Needed for "Large file support" in NetCDF
EXTRA_CPPFLAGS = -D_FILE_OFFSET_BITS=64
-## Use GCC4 since the fortran to C binding process with Sun Studio require
## non-redistributable libs in /opt/SUNWspro
-GARCOMPILER = GCC4
+GARCOMPILER = GCC3
+DEBUG_PACKAGING = 1
## Add GCC4 lib dir to CFLAGS and friends because gcc3core_rt puts it's
## libgcc_s.so in /opt/csw/lib and this breaks the build in all sorts of weird
## places.
@@ -53,12 +53,11 @@
##
## Adding -dalign to *FLAGS in attempt to fix bus error in nf_test/ftst_vars4
## in fuction nf_put_vlen_element
-EXTRA_CFLAGS = -L/opt/csw/gcc4/lib/$(MM_LIBDIR) -dalign
-EXTRA_FFLAGS= -L/opt/csw/gcc4/lib/$(MM_LIBDIR) -dalign
-EXTRA_FCFLAGS = -L/opt/csw/gcc4/lib/$(MM_LIBDIR) -dalign
-EXTRA_CXXFLAGS = -L/opt/csw/gcc4/lib/$(MM_LIBDIR) -dalign
+#EXTRA_CFLAGS = -L/opt/csw/gcc4/lib/$(MM_LIBDIR) -dalign
+#EXTRA_FFLAGS= -L/opt/csw/gcc4/lib/$(MM_LIBDIR) -dalign
+#EXTRA_FCFLAGS = -L/opt/csw/gcc4/lib/$(MM_LIBDIR) -dalign
+#EXTRA_CXXFLAGS = -L/opt/csw/gcc4/lib/$(MM_LIBDIR) -dalign
## OPT_FLAGS_GCC = -O2 -pipe
-
include gar/category.mk
## During the 32-bit sparc build, the C++ bindings were barfing with an error
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