Re: f7 32bit/64bit compiles.

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

 



clemens@xxxxxxx 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: pgp8LDtd8NiEM.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux