diff options
Diffstat (limited to 'include/makeinclude/platform_osf1_4.0.GNU')
-rw-r--r-- | include/makeinclude/platform_osf1_4.0.GNU | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/include/makeinclude/platform_osf1_4.0.GNU b/include/makeinclude/platform_osf1_4.0.GNU deleted file mode 100644 index 3955ee07536..00000000000 --- a/include/makeinclude/platform_osf1_4.0.GNU +++ /dev/null @@ -1,66 +0,0 @@ -# $Id$ - -# This platform macros file is intended to work with -# Digital UNIX 4.0 (OSF/1 4.0), using the cxx compiler.. - -debug = 1 -exceptions = 1 -rtti = 1 - -CC = cxx -CXX = $(CC) -#### Note: -pthread uses POSIX threads. If you want to use DCE threads -#### instead, change "-pthread" to "-threads". -CFLAGS += -pthread - -#### These flags can only be used with cxx Version 6.0 and later. -#### They can be enabled on the gmake command line with CXX_VER=POST_5X, -#### or by setting the CXX_VER environment variable to POST_5X. -# WARNING_FLAGS += -# 9: nested comment not allowed. But there's one in /usr/include/pdsc.h! -# 174: expr_has_no_effect -# 193: zero used for undefined preprocessing identifier -# 236: controlling expression is constant -# 401: base_class_with_nonvirtual_dtor -# 610: nonoverriding_function_decl -# 835: unreferenced_function_param -# 839: no_corresponding_delete (until this is fixed in libTAO) -ifeq ($(CXX_VER),POST_5X) - WARNING_FLAGS += -w0 -msg_display_number \ - -msg_disable 9,174,193,236,401,610,835,839 -endif - -CCFLAGS += $(CFLAGS) -ptr ptrepository $(WARNING_FLAGS) -ifeq ($(rtti),) - CCFLAGS += -nortti -endif # rtti -DCFLAGS += -g -O0 -DLD = $(CXX) -LD = $(CXX) -LIBS += $(CFLAGS) -ptr ptrepository -ltli -lrt -MATHLIB = -lm -OCFLAGS += -O4 -PIC = -ARFLAGS = cruvZ -# When libraries are archived, a hash index is automatically created -# so there is no need for ranlib -RANLIB = @true -#### The -hidden [...] -non_hidden business avoids multiply defined -#### symbols between the shared library and libcxxstd.a. It's the -#### workaround recommended in PTR 43-4-204. -SOFLAGS = -hidden /usr/lib/cmplrs/cxx/libcxxstd.a -non_hidden \ - -shared -use_ld_input $(ACELIB) -SOBUILD = $(RM) $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \ - ln $(VSHDIR)$*.o $@ - -ifndef exceptions - #### Disable the default exception handling of cxx >= 6.0. - #### This is untested. exceptions=1 is the default, so it's not used - #### by default. - CXX_HAS_EXCEPTIONS := \ - $(shell if cxx -V | egrep -v 'C\+\+ [a-zA-Z][6-9]' > /dev/null; then \ - echo 1; fi) - ifdef CXX_HAS_EXCEPTIONS - CCFLAGS += -nocleanup - endif # CXX_HAS_EXCEPTIONS -endif # ! exceptions |