|
bricedebrignaisplage wrote:
I switched to using QCC -V3.3.5,gcc_ntox86 to try to solve a problem with working with my own shared library. I was previously compiling with g++.
So QCC 3.3.5 complains about malloc and strtof not being declared, although I do include stdlib.h (and I also tried with cstdlib).
Is there a way I can fix that?
About strtof not sure but malloc is definitely there, must be a linker issue not a compiler one. Post the exact error and the command line you are using.
bricedebrignaisplage wrote:
And some others related queries:
is there no man page under QNX?
There is use <command> or you can use the HelpViewer in photon.
bricedebrignaisplage wrote:
How to grep recursive (grep -niRH doesn't work)?
Don't assume QNX is like Linux ;-) Either you can try to port a different of grep or try something like :
find . -name "*.c" -exec grep -l "thestring" {}
bricedebrignaisplage wrote:
What are the standard header files used by QCC 3.3.5? Those in /usr/include?
/usr/include is just for convenience the include are in /usr/qnx6../target/qnx6/usr/include/..
There are various directory for each matching version of GCC you may have (for examle 4.2.1 will add its own set of header files)
Thanks[/quote] |