digitalmars.D.learn - 32 bit x86 Linux operating system
- Barry Denton (1/1) Mar 06 2008 D unix compiler say for 32 bit x86 Linux operating system. Mine is 64 bi...
- BCS (5/6) Mar 06 2008 I don't known for sure that this works but..; if DMD runs, I rather
- Jarrett Billingsley (6/8) Mar 06 2008 I mean, even if your processor is 64-bit, and you have a 32-bit OS
- Jason House (5/7) Mar 06 2008 DMD will generate 32-bit code
- Brad Roberts (17/27) Mar 06 2008 It doesn't require a chroot environment, just the appropriate 32 bit
- Jason House (6/38) Mar 06 2008 Well, I've posted questions specifically about ubuntu 64 and got respons...
- Brad Roberts (5/43) Mar 06 2008 I don't use ubuntu, so I'm ill equipped to discuss what it takes to do
D unix compiler say for 32 bit x86 Linux operating system. Mine is 64 bit dual core single chanel will it work for me
Mar 06 2008
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 meI 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.***
Mar 06 2008
"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 meI 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.
Mar 06 2008
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 meDMD 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.
Mar 06 2008
On Thu, 6 Mar 2008, Jason House wrote:Barry Denton wrote: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, BradD unix compiler say for 32 bit x86 Linux operating system. Mine is 64 bit dual core single chanel will it work for meDMD 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.
Mar 06 2008
Brad Roberts wrote:On Thu, 6 Mar 2008, Jason House wrote: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.Barry Denton wrote: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, BradD unix compiler say for 32 bit x86 Linux operating system. Mine is 64 bit dual core single chanel will it work for meDMD 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.
Mar 06 2008
Jason House wrote:Brad Roberts wrote:I don't use ubuntu, so I'm ill equipped to discuss what it takes to do anything there. Later, BradOn Thu, 6 Mar 2008, Jason House wrote: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.Barry Denton wrote: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, BradD unix compiler say for 32 bit x86 Linux operating system. Mine is 64 bit dual core single chanel will it work for meDMD 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.
Mar 06 2008