Hi fellows
any idea what might cause this?
$ /usr/local/amiga/bin/ppc-amigaos-g++ -o hellocpp hello.cpp
/usr/local/amiga/lib/gcc/ppc-amigaos/8.2.0/../../../../ppc-amigaos/lib/libstdc++.a(ios_init.o): In function `__exchange_and_add_dispatch':
/home/pavel.bekesky/adtools/gcc/repo/libstdc++-v3/include/ext/atomicity.h:81: undefined reference to `__gthread_active_p'
/usr/local/amiga/lib/gcc/ppc-amigaos/8.2.0/../../../../ppc-amigaos/lib/libstdc++.a(ios_init.o): In function `__atomic_add_dispatch':
/home/pavel.bekesky/adtools/gcc/repo/libstdc++-v3/include/ext/atomicity.h:95: undefined reference to `__gthread_active_p'
/usr/local/amiga/lib/gcc/ppc-amigaos/8.2.0/../../../../ppc-amigaos/lib/libstdc++.a(ios_init.o): In function `__exchange_and_add_dispatch':
/home/pavel.bekesky/adtools/gcc/repo/libstdc++-v3/include/ext/atomicity.h:81: undefined reference to `__gthread_active_p'
/usr/local/amiga/lib/gcc/ppc-amigaos/8.2.0/../../../../ppc-amigaos/lib/libstdc++.a(locale.o): In function `__gnu_cxx::__mutex::~__mutex()':
/home/pavel.bekesky/adtools/gcc/repo/libstdc++-v3/include/ext/concurrence.h:142: undefined reference to `__gthread_active_p'
/home/pavel.bekesky/adtools/gcc/repo/libstdc++-v3/include/ext/concurrence.h:143: undefined reference to `__gthread_mutex_destroy'
/usr/local/amiga/lib/gcc/ppc-amigaos/8.2.0/../../../../ppc-amigaos/lib/libstdc++.a(locale.o): In function `__gnu_cxx::__mutex::unlock()':
/home/pavel.bekesky/adtools/gcc/repo/libstdc++-v3/include/ext/concurrence.h:161: undefined reference to `__gthread_active_p'
I had to reinstall adtools in cygwin and I'm getting this when trying to recompile simple hello world code:
#include <iostream>
using std::cout;
using std::endl;
int main()
{
std::cout << "Hello cross-compiled c++ World!" << endl;
}
C lang code with gcc works fine...
thanks