Ah... don't attempt to edit CFLAGS/CCFLAGS/LDFLAGS/etc. in the MakefileIs it a QNX C project, or a Standard Make project?
A QNX C project.
or common.mk files. You want to edit the project properties
(right-click the project, choose Properties). Click QNX C/C++ Project
in the left-hand list, then on the Options pane check the "Build with
Profiling" option. Apply, then rebuild your application.
If you need or want to, you can also specify other compiler options,
defines, etc. on the Compiler and Linker panes.
Instructions above are for the 6.3.0 IDE, sorry.If a QNX C project, you probably need to do it through the GUI, you're
not supposed to edit the Makefile. (In fact, I don't know what editing
the Makefile does.)
There is no way to modify the command line in the 6.2.1 IDE.
In your common.mk you could add:
Yeah, I know I said not to edit common.mk above, but if you don't have
another way to change this, common.mk is actually safe (you specify your
'use' message file in there, too).
Use the ELF parser. Binaries in QNX are in ELF format; the PE parser isFor 6.2.1, I don't remember for sure, but for a Standard Make project,
it should probably be set to QNX Binary parser. I don't think it will
make a difference, but I'm not sure.
There is no 'QNX binary parser'. It is either 'Elf Parser' or 'PE Windows
Parser'. The distinction eludes me.
there to support Windows development from Eclipse (ie, it's part of the
generic CDT, not an add-on from Momentics)... PE is the binary format
Chris Herborth (email@example.com)
Never send a monster to do the work of an evil scientist.