Are all the binaries 64 bit ?

Arjan van de Ven arjan at fenrus.demon.nl
Wed Mar 15 19:59:45 UTC 2006


On Thu, 2006-03-16 at 00:58 +0530, Tamal wrote:
> I am using Fedora core 4, 32 bit edition on my AMD Athlon 64 bit
> processor. I am planning for the 64 bit edition. I have downloaded
> Mandriva Linux 64 bit edition. But some programs of it actually 32
> bit. (tested for gcc which gives sizeof(int) = 4). 

wrong test, you need to test sizeof(long) :)
int's are 4 bytes even on 64 bit platforms

> Now a question is arising in my mind, that is, are all the binaries of
> Fedora core 64 bit edition is actually 64 bit ? How we can test that
> the binary is in 32 bit or 64 bit format ?

almost all; open office isn't (yet) 64 bit.

as for your last question, run the "file" command on the binary, it'll
tell you exactly this

> 




More information about the amd64-list mailing list