[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: f7 32bit/64bit compiles.



clemens dwf com writes:

OK, a dumb question, but Ive always just assumed that all my machines were
32bit, and ignored 64bit stuff.

Now more than 1/2 are 64bit.

So the dumb question: How do you compile in 64bit mode?
Im sure its there in the gcc man page, but after scanning the first
20-30pages Im about to go to sleep...

And, is there some place to put this so that gcc ALWAYS compiles
in 64bit mode?  Or does so by default.

On 64 bit machines, gcc compiles by default to 64 bit code.

Or does gcc look at the machine architecture and make a decision on
its own.

On 64 bit Fedora, gcc by default compiles to 64 bit. That's it.

So, a quick discussion of the niceties of 32/64bit compiling would be
appreciated.

There's nothing really to discuss. On PowerPC-based hardware, gcc compiles, by default, to powerpc code. On 32 bit Intel, to 32 bit Intel code, on 64 bit Intel, to 64 bit Intel. That's it.


Attachment: pgpSPEFFo1UR7.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]