Re: C++ compilers on Linux supporting 64bit architecture?

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

 



On Sat, 2007-09-01 at 13:49 +0200, Bo Berglund wrote:
> On Sat, 01 Sep 2007 05:23:18 -0600, Karl Larsen <k5di@xxxxxxxxxx>
> wrote:
> 
> >Bo Berglund wrote:
> >> 1) Is it possible to cross-compile on Linux 32 bit to produce an
> >> executable for the 64bit architecture Linux as well as 32 bit?
> >>
> >>   
> >    In Linux Bo, if you want to write in 64 bit you load the version of 
> >Fedora 7 that is totally 64 bit. This is the f7 x86-64 distribution and 
> >different than Microsoft, you can download this free. Then you can 
> >compile in C or C++ with 64 bit. No need to cross/compile.
> >
> 
> Yes, I understand that in 64bit Linux you would be able to compile for
> the 64bit platform....
> But our development machines are mostly (95%) Windows 32bit systems
> and I had in mind to use VirtualPC in order to have the developers
> running Linux on their own Windows machines for compiles etc.
> Then we would use a single hardware Linux machine for actual testing.
> 
> Unfortunately VirtualPC2007 does not support loading anything else
> than 32 bit operating systems into a virtual machine, so we are left
> with that. We use VPC2007 a lot for testing purposes, so we are
> comfortable with that system except for the 64bit support (or lack
> thereof).

On 32-bit F7:

        $ gcc -m64 foo.c
        foo.c:1: sorry, unimplemented: 64-bit mode not compiled in

So the distribution compilers can't do it.  It may (should) be possible,
but you'll probably have to build your own gcc from source.

> 
> Bo Berglund
> 
> 
-- 
                Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

-- 
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