The /usr/bin/file command on linux can be used to check the file type.
~> file /usr/lib/libpython2.6.so
/usr/lib/libpython2.6.so: symbolic link to `libpython2.6.so.1'
~> file /usr/lib/libpython2.6.so.1
/usr/lib/libpython2.6.so.1: symbolic link to `libpython2.6.so.1.0'
~> file /usr/lib/libpython
Hi,
I've got a seemingly simple question. However, I failed to find an answer up to
now.
In my FindXXX module, I search a library with help of the find_library command
on a 64-bit Linux. Now, I want to check, if the library is 32-bit (built with
-m32) or 64-bit.
How can I check this?
Thanks