Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - gcc 4.8.3 and binutils 2.25 + QNX650: (1 Item)
   
gcc 4.8.3 and binutils 2.25 + QNX650  
Good day, everybody. 
I try to use gcc 4.8.3 compiler and binutils 2.25 with QNX650 installation. 
So, I have copied "host" and "target" directories from archives of gcc and binutils into my installation. 
Then, I try to compile "helloworld" C program. It was succesfull.
But, when I try to compile CPP program, I have get an error:
"QCC -V 4.8.3,gcc_ntox86_gpp hello.cpp
.../target/qnx6/x86/lib/gcc/4.8.3/libstdc++.so: undefined reference to `dl_iterate_phdr'
cc: ...host/win32/x86/usr/bin/i486-pc-nto-qnx6.6.0-ld caught signal 1"
Does everybody have any ideas, how to solve this reference?
==========There is hello.cpp:=================
#include <iostream>

int main(int c, char* av[]){
	std::cout << "Hello  world" << std::endl;
}
==========================================

With best regards.