Pavel Kopylov(deleted)
|
gcc 4.8.3 and binutils 2.25 + QNX650
|
Pavel Kopylov(deleted)
11/27/2020 3:49 PM
post121128
|
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.
|
|
|