QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Privity 1 under PhAB |
Ref. No. |
QNX.000009824 |
Category(ies) |
Development |
Issue |
How do we se up the program under PhAB to privity 1 so that we could use outpw (etc)?
|
Solution |
You can modify the Makefile, because PhAB never modifies an existing Makefile.
Add the options you need in the LDFLAGS section and in the SDFLAGS section.
# # Application Makefile #
ifndef DEBUG DEBUG = -g endif
ifndef OPTIM OPTIM = -Osax endif
PLATFORM=default PHABOPTS=
# CFLAGS = -v$(PLATFORM) -3 -mf -w5 $(OPTIM) $(DEBUG) $(PHABOPTS) CXXFLAGS = $(CFLAGS)
LDFLAGS = -v$(PLATFORM) -3 -mf $(DEBUG) -l Aplib -l phrtlib -l phexlib -l phcontrib -l photon -l phrender_s $(PHABOPTS)
SDFLAGS = -v$(PLATFORM) -3 -mf $(DEBUG) -l Aplib -l phrtlib -l phexlib -l phcontrib -l photon_s -l phrender_s $(PHABOPTS)
... |
|