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

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

 



On Sun, 2 Sep 2007 15:10:28 +0100, Chris Jones
<jonesc@xxxxxxxxxxxxxxxxx> wrote:

>> So  my question comes from a suggestion to run a 32 bit Linux inside a
>> VirtualPC virtual machine in the Windows laptops for development.
>> Then we need only a single 64 bit machine running Linux to test the
>> performance of the compiled binaries.
>> This requires the use of a cross-compiler able to compiule 64 bit
>> binaries on a 32 bit system.
>
>I am still not getting why you want to be able to generate 64 bit binaries 
>from a 32 bit OS ?

Because the idea was that anyone of the developers should be able to
do it and they do not have 64 bit PC:s...
So if the compiler could be set to generate 64 bit code as well as
32bit it would be possible. But I know too little about the Linux
system to really know. That's why I am asking here.

>
>I can understand the logic behind giving your devs a 32 bit linux virtual 
>machine on their windows notebooks, to work with. Here though, they are going 
>to have to work in 32 bit mode, as these are the only binaries then can run. 
>
>Note I'm not sure how easy it is, or even if it is possible, to generate 64 
>bit binaries from a pure 32 bit OS. For sure if it is possible you are going 
>to have to do a lot of custom setting up.
>
>So, once your devs have some software, tested on 32 bit windows and 32 bit 
>linux, you want test it on your single 64 bit linux machine. At this point 
>just install the source code for you project on this machine, build it from 
>source in 64 bit mode and test.
>
>I'm just not getting where you need to generate 64 bit binaries on your 32 bit 
>nodes ? ( But obviously I don't know the full details of your software dev 
>process... )

As described above....
But from another poster I have nbow realized that as long as the
developers are on the local network and we have one 64bit Linux
machine running each of them can use an X terminal and log on to the
Linux machine and do their work from their own PC:s.
So that is probably the final solution.

>> Notice also that VPC2007 does not support running anything but a 32
>> bit virtual machine emulation.
>
>VPC isn't the only virtualisation software around - Are you tied to VPC, or 
>could you consider say VMWare instead, which does support 64 bit guests ?

But that is $200 per developer and it does not work anyweay since the
developer CPU is 32 bit, VMWare does not emulate the CPU either, what
you have on your PC is what you can have in your virtual machine.

Bo Berglund


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux