View mode: basic / threaded / horizontal-split · Log in · Help
May 07, 2011
Re: D auto-tester
On 07/05/2011 23:15, Nick Sabalausky wrote:
> "Robert Clipsham"<robert@octarineparrot.com>  wrote in message
> news:ipv3tv$1eg0$1@digitalmars.com...
>>
>>>    * What is "Linux 32/64" vs. "64/32"?
>>
>> 32 bit dmd creating 64 bit binaries, 64 bit dmd creating 32 bit binaries.
>> I believe you get a description if you hover over them.
>>
>
> Probably a stupid question, but 32-bit DMD can't create 64-bit binaries when
> running on a 32-bit system, can it? I assume 32-bit DMD can only create
> 64-bit binaries when running on a 64-bit system, right?

It should be able to if you have a multilib gcc installed, along with 
the relevant 64bit libraries (that makes it sound so simple, I know from 
experience that anything to do with gcc almost 100% isn't that simple). 
You won't be able to run the resulting binary of course.

-- 
Robert
http://octarineparrot.com/
May 08, 2011
Re: D auto-tester
"Robert Clipsham" <robert@octarineparrot.com> wrote in message 
news:iq4gpa$tq0$2@digitalmars.com...
> On 07/05/2011 23:15, Nick Sabalausky wrote:
>> "Robert Clipsham"<robert@octarineparrot.com>  wrote in message
>> news:ipv3tv$1eg0$1@digitalmars.com...
>>>
>>>>    * What is "Linux 32/64" vs. "64/32"?
>>>
>>> 32 bit dmd creating 64 bit binaries, 64 bit dmd creating 32 bit 
>>> binaries.
>>> I believe you get a description if you hover over them.
>>>
>>
>> Probably a stupid question, but 32-bit DMD can't create 64-bit binaries 
>> when
>> running on a 32-bit system, can it? I assume 32-bit DMD can only create
>> 64-bit binaries when running on a 64-bit system, right?
>
> It should be able to if you have a multilib gcc installed, along with the 
> relevant 64bit libraries

Oh, cool :)

> (that makes it sound so simple, I know from experience that anything to do 
> with gcc almost 100% isn't that simple).

Definitely. I think I've managed to develop a strong allergy to gcc due to 
such issues in the past.

> You won't be able to run the resulting binary of course.
>

Aww, shucks ;) There go my plans of a software-based CPU upgrade!
May 08, 2011
Re: D auto-tester
On 08/05/2011 01:05, Nick Sabalausky wrote:
>> You won't be able to run the resulting binary of course.
>
> Aww, shucks ;) There go my plans of a software-based CPU upgrade!

Check out QEMU, it will let you run a virtualized 64 bit operating 
system on 32 bit hardware, same for arm and a number of other cpu 
architectures. It's been a while since I used it, could do what you want 
though. I believe there's an extras package for it if you're on Ubuntu 
which adds a load of architectures if it's not available by default. 
Also make sure to get the kvm package if your hardware supports it, 
it'll give a significant speed boost.

-- 
Robert
http://octarineparrot.com/
May 08, 2011
Re: D auto-tester
Am 08.05.2011 02:33, schrieb Robert Clipsham:
> On 08/05/2011 01:05, Nick Sabalausky wrote:
>>> You won't be able to run the resulting binary of course.
>>
>> Aww, shucks ;) There go my plans of a software-based CPU upgrade!
> 
> Check out QEMU, it will let you run a virtualized 64 bit operating
> system on 32 bit hardware, same for arm and a number of other cpu
> architectures. It's been a while since I used it, could do what you want
> though. I believe there's an extras package for it if you're on Ubuntu
> which adds a load of architectures if it's not available by default.
> Also make sure to get the kvm package if your hardware supports it,
> it'll give a significant speed boost.
> 

If his hardware supports KVM, it has 64bit support anyway (at least for
x86/amd64) ;)
May 08, 2011
Re: D auto-tester
"Robert Clipsham" <robert@octarineparrot.com> wrote in message 
news:iq4ojp$1ate$1@digitalmars.com...
> On 08/05/2011 01:05, Nick Sabalausky wrote:
>>> You won't be able to run the resulting binary of course.
>>
>> Aww, shucks ;) There go my plans of a software-based CPU upgrade!
>
> Check out QEMU, it will let you run a virtualized 64 bit operating system 
> on 32 bit hardware, same for arm and a number of other cpu architectures. 
> It's been a while since I used it, could do what you want though. I 
> believe there's an extras package for it if you're on Ubuntu which adds a 
> load of architectures if it's not available by default. Also make sure to 
> get the kvm package if your hardware supports it, it'll give a significant 
> speed boost.
>

Wow, I'm genuinely surprised anyone's even bothered to make anything that 
can emulate 64-bit on 32-bit hardware.
Next ›   Last »
1 2
Top | Discussion index | About this forum | D home