summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_qnx_neutrino.GNU
blob: 099ed3e33d4e90f4dc53700639d3d518c7acf982 (plain)
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
# $Id$

# QNX 4.25 hosted GNU g++ for Neutrino 2.0

CROSS-COMPILE = 1
static_libs_only = 1

debug ?= 1
optimize ?= 1
pipes ?= 1
CC      ?= i386-nto-gcc
CXX     ?= i386-nto-g++

CFLAGS  += -W -Wall -Wpointer-arith
DCFLAGS += -g
DLD     = $(CXX)
LD      = $(CXX)
LDFLAGS +=
LIBS    += -lsocket -lstdc++
OCFLAGS += -O2
PIC     = -fPIC
AR     ?= i386-nto-ar
ARFLAGS = ruv
RANLIB ?= i386-nto-ranlib
SOFLAGS += -G $(CPPFLAGS) -shared
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
PRELIB  = @true

# Test for template instantiation, add to SOFLAGS if SONAME set,
# add -E to LDFLAGS if using GNU ld
#
include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU

CCFLAGS += $(CFLAGS)