Operating System - Linux
1830898 Members
3298 Online
110017 Solutions
New Discussion

Re: How to find to out the mode of compilation

 
SOLVED
Go to solution
CA1490051
Frequent Advisor

How to find to out the mode of compilation

Hi all,

I have library files of QT-3.3.7. The problem is i want to know in which mode this library has been generated.

Mode I mean whether it is a 32bit library or a 64 bit library.

So i want to know whether there is any way (command ) to know this type of modes in the binary files or the lib files.

Please give some suggestions to this.

thanks in advance
Vikram
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: How to find to out the mode of compilation

HI Vikram:

See the manpages for:

# file

...if ELF64 then 64-bit

# chatr
# ldd

Regards!

...JRF...

Dennis Handly
Acclaimed Contributor

Re: How to find to out the mode of compilation

You'll see both PA and IPF results of file(1) in my last reply in this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1090127
Dennis Handly
Acclaimed Contributor

Re: How to find to out the mode of compilation

You haven't assigned any points here yet. If the answers were helpful, please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Also close the thread if you got your answer.
We want the languages and scripting forum to have all locked bunnies. :-)
CA1490051
Frequent Advisor

Re: How to find to out the mode of compilation

Thank you very much for providing me the solution.