Now, I try to compile the original codes by pgc++, which are compiled g++ well.
Compiling step is fine but there are endless errors in linking step.
Actually, almost errors are like that:
aaa.cpp : undefined reference to ‘__blt_pgi_clzl’
aaa.o: In function ‘std::__lg(long)’:
/usr/lib/gcc/x86_64-redhat-linux/include/c++/bits/stl_algo.h:2324:undefined referene to ‘__blt_pgi_clzl’
I think these errors are related to which library I should use.
How do I fix these errors?