Reputation: 55
I am cross compiling for an RX platform under linux, but how can I check if the library is built for the right platform?
Does anyone knows what the command is under linux?
Upvotes: 1
Views: 853
Reputation: 3221
You can use the command file
see manpage to get meta information for a file. E.g. the architecture that it is compiled for.
Upvotes: 3
Reputation: 68728
If the output is in ELF format (which you can determine by typing file <filename>
) than you can use the readelf
and/or objdump
commands to inspect it.
Upvotes: 0