I am pretty new to cross compilation and I am not sure whether the executable which is getting created through cross compilation is correct or not.
Basically I am working on project which needs the libs to be compiled from different toolchains.
So I have compiled a library on ubuntu system using a arm toolchain and the library is compiled successfully. But now on ubuntu when I try to perform ldd on its arm executable, it shows a message "not a dynamic executable".
However this same library which is compiled from another qnap x86_64 toolchain works fine on performing ldd on its executable. I mean it shows proper dependecies as expected by ldd.
Now I am confused which one is the expected behavior. The one which is showing dependecies from ldd or the one which is showing "not a dynamic executable".
Could someone please clarify this concept to me?
Thanks