summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormbrudka <mbrudka@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-04-13 19:49:23 +0000
committermbrudka <mbrudka@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-04-13 19:49:23 +0000
commit0cd7b6445be4a22e1bd666a171ef6862b1af57d7 (patch)
treecd885b67b543f6e3cbf49b12e0d1158a0dfe1e88 /include
parent93dfc77ea444afc6a76a4ecfbff44ef5ef36e09d (diff)
downloadATCD-0cd7b6445be4a22e1bd666a171ef6862b1af57d7.tar.gz
Patch for QNX neutrino v 6.2x
New files: - config-qnx-rtp* new configuration files for qnx nto that ensures (I hope) backward compatibility with qnx nto < 6.2.x Modifications: - ACE-Install.html documentation update in QNX section - Time_Value.cpp warning related with unsigned tv_sec@NTO removed - OS.h unnecessary semicolon removed from include directive - platform_qnx_rtp_gcc.GNU platform macros for qnx rto that tries to recognize nto version and defines adequate ACE_NTO_VERS value
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_qnx_rtp_gcc.GNU26
1 files changed, 16 insertions, 10 deletions
diff --git a/include/makeinclude/platform_qnx_rtp_gcc.GNU b/include/makeinclude/platform_qnx_rtp_gcc.GNU
index 21790d9d6ec..ac46d492183 100644
--- a/include/makeinclude/platform_qnx_rtp_gcc.GNU
+++ b/include/makeinclude/platform_qnx_rtp_gcc.GNU
@@ -1,29 +1,35 @@
-# $Id$
+# platform_qnx_rtp_gcc.GNU,v 1.11 2003/08/09 04:43:51 dhinton Exp
# QNX/RTP hosted, using gcc-2.95.2
-
+nto_version := $(shell uname -a | awk '{ gsub("\\.","", $$3 ); print $$3;}')
+CCFLAGS += -DACE_NTO_VERS=$(nto_version)
+CFLAGS += -DACE_NTO_VERS=$(nto_version)
inline = 1
-debug = 1
-optimize = 1
-exceptions = 1
+debug ?= 1
+optimize ?= 1
+exceptions ?= 1
ifeq ($(exceptions),1)
CCFLAGS += -fexceptions
LDFLAGS += -fexceptions
else
- CCLAGS += -fno-exceptions
- LDLAGS += -fno-exceptions
+ CCFLAGS += -fno-exceptions
+ LDFLAGS += -fno-exceptions
endif # ! exceptions
-pipes ?= 1
+ifeq ($(inline),1)
+ CCFLAGS += -finline-functions
+else
+ CCFLAGS += -fno-inline
+endif # inline
CC = gcc
CXX = g++
-DCFLAGS += -gstabs
+DCFLAGS += -gdwarf-2
-CFLAGS += -W -Wall -Wpointer-arith
+CFLAGS += -pipe -W -Wall -Wpointer-arith
DLD = $(CXX)
LD = $(CXX)