Default Makefiles and GNU C++

Is there a way to modify the default makefiles for QNXRTP to work
for GNU C++ source files (*.cpp) ? I had no trouble setting up make
files
that include references to the default supplied makefiles to work for
compiling and linking C source files.


Glenn Davidson || Phone: (902)492-0003
Satlantic Inc., Richmond Terminal, Pier 9 |
| Fax: (902)492-0005

3295 Barrington St., Halifax, Nova Scotia, |*| E-mail: glenn@iosat.com

Glenn Davidson <glenn@satlantic.com> wrote:

Is there a way to modify the default makefiles for QNXRTP to work
for GNU C++ source files (*.cpp) ? I had no trouble setting up make
files
that include references to the default supplied makefiles to work for
compiling and linking C source files.

It’s being added.

For now, the main thing you should do is to add -lang-c++ to your
CCOPTS and LDOPTS


cburgess@qnx.com

cburgess@qnx.com wrote:

Glenn Davidson <> glenn@satlantic.com> > wrote:
Is there a way to modify the default makefiles for QNXRTP to work
for GNU C++ source files (*.cpp) ? I had no trouble setting up make
files
that include references to the default supplied makefiles to work for
compiling and linking C source files.

Also make sure your C++ sources use the .cc extention - .cpp isn’t
recognized.


It’s being added.

For now, the main thing you should do is to add -lang-c++ to your
CCOPTS and LDOPTS


cburgess@qnx.com