I am using Nanomsg for IPC APIs in a Rust program. Native compilation works without any errors, whereas when I cross compile for armv7-unknown-linux-gnueabihf triple, I get error as shown in the image saying
linking with arm-linux-gnueabihf-gcc failed
And on the shared library - file format not recognised.
I have the std crates for arm and armv7 targets installed via rustup.
Please let me know how to proceed further
Thank you and regards,