Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
March 06, 2008 32 bit x86 Linux operating system | ||||
---|---|---|---|---|
| ||||
D unix compiler say for 32 bit x86 Linux operating system. Mine is 64 bit dual core single chanel will it work for me |
March 06, 2008 Re: 32 bit x86 Linux operating system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Barry Denton | Barry Denton wrote:
> D unix compiler say for 32 bit x86 Linux operating system. Mine is 64 bit dual core single chanel will it work for me
I don't known for sure that this works but..; if DMD runs, I rather suspect that it's output will as well.
***I don't know of any damage this this could cause but I don't know that it is safe either.***
|
March 06, 2008 Re: 32 bit x86 Linux operating system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Barry Denton | "Barry Denton" <basse42@yahoo.com> wrote in message news:fqppuj$2b7a$1@digitalmars.com... >D unix compiler say for 32 bit x86 Linux operating system. Mine is 64 bit dual core single chanel will it work for me I mean, even if your processor is 64-bit, and you have a 32-bit OS installed, it'll work, since the 64-bit processor will just be running in 32-bit mode. But if you have a 64-bit OS, well, you can try. I've never even *touched* 64-bit Linux so my utility comes to an end here. |
March 06, 2008 Re: 32 bit x86 Linux operating system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Barry Denton | Barry Denton wrote:
> D unix compiler say for 32 bit x86 Linux operating system. Mine is 64 bit dual core single chanel will it work for me
DMD will generate 32-bit code
GDC has versions to generate 32-bit and 64-bit code
If you're going to use DMD, your OS needs to be able to run 32-bit code. If, like me, you run 64-bit ubuntu, you'll need a 32-bit chroot.
|
March 07, 2008 Re: 32 bit x86 Linux operating system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jason House | On Thu, 6 Mar 2008, Jason House wrote:
> Barry Denton wrote:
>
> > D unix compiler say for 32 bit x86 Linux operating system. Mine is 64 bit dual core single chanel will it work for me
>
> DMD will generate 32-bit code
> GDC has versions to generate 32-bit and 64-bit code
>
> If you're going to use DMD, your OS needs to be able to run 32-bit code. If, like me, you run 64-bit ubuntu, you'll need a 32-bit chroot.
It doesn't require a chroot environment, just the appropriate 32 bit libraries, which essentially every distribution makes available. I've run dmd on linux x86/64 with various linux distributions. On fc6 I had to install two rpm's, compat-libstdc++-33 and glibc-devel.i386. The box I was running fc6 on was an ec2 instance and the image it started with was a very very slim install (no compiler at all), so the latter is probably already installed on most boxes. On debian I had to install libstdc++6, also often already installed.
The only thing you won't be able to do with dmd is create 64 bit applications. As long as you're ok with creating 32 bit applications, you're fine. MOST apps don't need the full 64 bit address space and the cost of the extra memory consumed by using pointers and longs that consume twice the memory. Many can take advantage of the extra registers that become available to 64 bit apps. So, it's all a balancing act.
Later,
Brad
|
March 07, 2008 Re: 32 bit x86 Linux operating system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Roberts | Brad Roberts wrote:
> On Thu, 6 Mar 2008, Jason House wrote:
>
>> Barry Denton wrote:
>>
>> > D unix compiler say for 32 bit x86 Linux operating system. Mine is 64
>> > bit
>> > dual core single chanel will it work for me
>>
>> DMD will generate 32-bit code
>> GDC has versions to generate 32-bit and 64-bit code
>>
>> If you're going to use DMD, your OS needs to be able to run 32-bit code. If, like me, you run 64-bit ubuntu, you'll need a 32-bit chroot.
>
> It doesn't require a chroot environment, just the appropriate 32 bit libraries, which essentially every distribution makes available. I've run dmd on linux x86/64 with various linux distributions. On fc6 I had to install two rpm's, compat-libstdc++-33 and glibc-devel.i386. The box I was running fc6 on was an ec2 instance and the image it started with was a very very slim install (no compiler at all), so the latter is probably already installed on most boxes. On debian I had to install libstdc++6, also often already installed.
>
> The only thing you won't be able to do with dmd is create 64 bit applications. As long as you're ok with creating 32 bit applications, you're fine. MOST apps don't need the full 64 bit address space and the cost of the extra memory consumed by using pointers and longs that consume twice the memory. Many can take advantage of the extra registers that become available to 64 bit apps. So, it's all a balancing act.
>
> Later,
> Brad
Well, I've posted questions specifically about ubuntu 64 and got responses back from them. The only way that any of us (that participated in the discussions) got it to work on ubuntu 64 was with a 32 bit chroot. If you can figure out the complete list of packages to makes dmd work under ubuntu 64, please tell me! Ubuntu 64, by default, runs only 64-bit applications.
|
March 07, 2008 Re: 32 bit x86 Linux operating system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jason House | Jason House wrote:
> Brad Roberts wrote:
>
>> On Thu, 6 Mar 2008, Jason House wrote:
>>
>>> Barry Denton wrote:
>>>
>>>> D unix compiler say for 32 bit x86 Linux operating system. Mine is 64
>>>> bit
>>>> dual core single chanel will it work for me
>>> DMD will generate 32-bit code
>>> GDC has versions to generate 32-bit and 64-bit code
>>>
>>> If you're going to use DMD, your OS needs to be able to run 32-bit code.
>>> If, like me, you run 64-bit ubuntu, you'll need a 32-bit chroot.
>> It doesn't require a chroot environment, just the appropriate 32 bit
>> libraries, which essentially every distribution makes available. I've run
>> dmd on linux x86/64 with various linux distributions. On fc6 I had to
>> install two rpm's, compat-libstdc++-33 and glibc-devel.i386. The box I
>> was running fc6 on was an ec2 instance and the image it started with was a
>> very very slim install (no compiler at all), so the latter is probably
>> already installed on most boxes. On debian I had to install libstdc++6,
>> also often already installed.
>>
>> The only thing you won't be able to do with dmd is create 64 bit
>> applications. As long as you're ok with creating 32 bit applications,
>> you're fine. MOST apps don't need the full 64 bit address space and the
>> cost of the extra memory consumed by using pointers and longs that consume
>> twice the memory. Many can take advantage of the extra registers that
>> become available to 64 bit apps. So, it's all a balancing act.
>>
>> Later,
>> Brad
>
> Well, I've posted questions specifically about ubuntu 64 and got responses
> back from them. The only way that any of us (that participated in the
> discussions) got it to work on ubuntu 64 was with a 32 bit chroot. If you
> can figure out the complete list of packages to makes dmd work under ubuntu
> 64, please tell me! Ubuntu 64, by default, runs only 64-bit applications.
I don't use ubuntu, so I'm ill equipped to discuss what it takes to do anything there.
Later,
Brad
|
Copyright © 1999-2021 by the D Language Foundation