/usr/lib/ace/include/makeinclude/platform_linux_suncc.GNU is in libace-dev 6.0.3+dfsg-0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | # $Id: platform_linux_suncc.GNU 93520 2011-03-10 11:05:17Z olli $
# This file should allow ACE to be built on Linux, using the Sun compiler.
# The Sun compiler on linux is still in the Alpha stage, so no guarantees
# given at this point
include $(ACE_ROOT)/include/makeinclude/platform_linux_common.GNU
no_hidden_visibility ?= 1
ifeq ($(insure),0)
CC = CC
CXX = CC
endif
GNU_LIBPTHREAD_VERSION := $(shell getconf GNU_LIBPTHREAD_VERSION)
ifeq (NPTL, $(word 1,$(GNU_LIBPTHREAD_VERSION)))
CPPFLAGS += -DACE_HAS_LINUX_NPTL
endif
DCCFLAGS += -g
DCFLAGS += -g
DLD = $(CXX)
LD = $(CXX)
LIBS += -ldl
OCCFLAGS = -O3
OCFLAGS = -O3
PRELIB = @true
SOFLAGS += -shared
PIC = -PIC
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<; \
$(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o
ifeq ($(threads),1)
CPPFLAGS += -D_REENTRANT
LIBS += -lpthread -lrt
endif
ifeq ($(optimize),0)
# Disable all optimizing in code
CPPFLAGS += -O0
endif
ifeq ($(shared_libs), 1)
ifneq ($static_libs_only), 1)
ifneq ($(no_hidden_visibility),1)
CCFLAGS += -fvisibility=hidden
else
CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0
endif # no_hidden_visibility
endif
endif
ifeq ($(buildbits),32)
CFLAGS += -m32
LDFLAGS += -m32
endif
ifeq ($(buildbits),64)
CFLAGS += -m64
endif
# Enable GNU extensions
CPPFLAGS+= -D_GNU_SOURCE
# Added line below to support "Executable Shared Object" files (as
# needed by the service configurator).
# Marius Kjeldahl <mariusk@sn.no, marius@funcom.com>
ifeq ($(threads),1)
ESOBUILD = $(COMPILEESO.cc) $(PIC) -shared -o $(VSHDIR)$*.so $<
ifndef PRELIB
PRELIB = @true
endif # ! PRELIB
endif
|