diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-29 20:52:16 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-29 20:52:16 +0000 |
commit | 22c6ecbd0dd7cf14bb3af73841e9d433f0c93733 (patch) | |
tree | 49ea2137d9c1b25f9d292f9fdaaa3e7732df251c /include | |
parent | e98cab44b71b4ec780fe2f407cf039f69e639b3f (diff) | |
download | ATCD-22c6ecbd0dd7cf14bb3af73841e9d433f0c93733.tar.gz |
ChangeLogTag:Fri Jan 29 14:49:37 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_cray.GNU | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/include/makeinclude/platform_cray.GNU b/include/makeinclude/platform_cray.GNU new file mode 100644 index 00000000000..026ded4ba07 --- /dev/null +++ b/include/makeinclude/platform_cray.GNU @@ -0,0 +1,49 @@ +# $Id$ + +# Initial platform macros for SGI/Cray UNICOS (vector) & UNICOS/mk (mpp) - +# UNICOS 10.0.0.2 +# UNICOS/mk 2.0.3.10 +# Cray C++ Version 3.1.0.0 +# Cray Standard C Version 6.1.0.0 +# +# Contributed by Doug Anderson <doug@clark.net> + +debug = 1 +exceptions = 1 +static_libs_only = 1 +quantify = +purify = + +# Cray's autoinstantiation seems to be broken, resulting in +# C++ prelinker: error: instantiation loop +# So, we're using ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION +CC = cc +LDLIB += -L$(ACE_ROOT)/ace +CXX = CC +#CFLAGS += +CCFLAGS += -h noautoinstantiate +DCFLAGS += -g +DCCFLAGS += $(DCFLAGS) +OCFLAGS += -O2 +OCCFLAGS += $(OCFLAGS) + +ifndef exceptions + CCFLAGS += -h noexceptions +else + CCFLAGS += -h exceptions +endif # ! exceptions + +DLD = $(CXX) +LD = $(CXX) +LIBS = -lpthread +PIC = +AR = ar +ARFLAGS = ruv +RANLIB = /bin/true + +# This is necessary to get libraries to contain template info, but only +# necessary when using autoinstantiation +# PRELIB = @echo ""; \ +# echo "int main() { return 0; }" >dummy.cpp; \ +# echo "$(CXX) $(CCFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LIBS) -o dummy dummy.cpp $?";\ +# $(CXX) $(CCFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LIBS) -o dummy dummy.cpp $?; |