C++ Code Generation in phAB

Greetings,

I realize that a similar question has been asked before but it has decayed
and I am not seeing the answer in the knowledge base (hint).

So …

In the “Programmer’s Guide” section “Generating application code” there is a
screenshot of the “Select New Platform” window. In it the top level “Target
Platform Options” include ntox86, ntox86++ and default. In contrast if I
open my “Select New Platform” window my top level “Target Platform Options”
are ntox86 and default … the ntox86++ is missing.

My question is how do I enable this “Target Platform” option so that,
presumably, I will be able to generate C++ out of phAB.

]{ristoph

PS. Are the qdn newsgroups archived?

You don’t need to. It’s an error in the documentation.

To get C++ to work, modify the Makefile in the ntox86 target dir and add the
line “CXX=qcc”.

That’s what I did to get it working.

I submitted a bug report that that compiler override seems to be missing
from the generated makefiles. We’ll see if they get around to “fixing” it.

Good luck!

– Kevin

“Kristoph A. Cichocki-Romanov” <news1@kristoph.net> wrote in message
news:8suhq2$6r6$1@inn.qnx.com

Greetings,

I realize that a similar question has been asked before but it has decayed
and I am not seeing the answer in the knowledge base (hint).

So …

In the “Programmer’s Guide” section “Generating application code” there is
a
screenshot of the “Select New Platform” window. In it the top level
“Target
Platform Options” include ntox86, ntox86++ and default. In contrast if I
open my “Select New Platform” window my top level “Target Platform
Options”
are ntox86 and default … the ntox86++ is missing.

My question is how do I enable this “Target Platform” option so that,
presumably, I will be able to generate C++ out of phAB.

]{ristoph

PS. Are the qdn newsgroups archived?
\

On QNX4, simply add .cc to your event handler filename.

For example,

if you say

“Button”, it will create Button.c and thinks it’s pure C.

if you say:

“Button.cc”, it will create Button.cc and thinks it’s C++.

…cpp doesn’t work on QNX4, maybe it work on Neutrino, RTP ?


Kevin Kahl wrote in message <8t00np$jpb$1@inn.qnx.com>…

You don’t need to. It’s an error in the documentation.

To get C++ to work, modify the Makefile in the ntox86 target dir and add
the
line “CXX=qcc”.

That’s what I did to get it working.

I submitted a bug report that that compiler override seems to be missing
from the generated makefiles. We’ll see if they get around to “fixing” it.

Good luck!

– Kevin

“Kristoph A. Cichocki-Romanov” <> news1@kristoph.net> > wrote in message
news:8suhq2$6r6$> 1@inn.qnx.com> …
Greetings,

I realize that a similar question has been asked before but it has
decayed
and I am not seeing the answer in the knowledge base (hint).

So …

In the “Programmer’s Guide” section “Generating application code” there
is
a
screenshot of the “Select New Platform” window. In it the top level
“Target
Platform Options” include ntox86, ntox86++ and default. In contrast if I
open my “Select New Platform” window my top level “Target Platform
Options”
are ntox86 and default … the ntox86++ is missing.

My question is how do I enable this “Target Platform” option so that,
presumably, I will be able to generate C++ out of phAB.

]{ristoph

PS. Are the qdn newsgroups archived?


\