Problems QNX Windows SDK C++ cross compilation for x86.

Hi.
I try to compile and build a library for target qnx rtp x86.
I do succeed to build libraries from the C code and sucessfully link them on
native machine.
But when I compile C++ sources and then try to link on native machine I’v
got following
undefined symbols:

undefined refernce: std::ios_base::Init::Init(void)


If I compile the very same C++ sources on native machine everything works
fine
(not using cross compiler, but gcc directly)

Documentation says that I should use QCC instead of the qcc, but on windows
it is the same executable
(windows are not case sensitive).
I’ve tried also to add switch -lang-c++, but it did not help.


ANY help is very appreciated.