digitalmars.D.announce - Re: dmd 1.041 and 2.026 releases
- davesun <davesun 126.com> Mar 11 2009
- Walter Bright <newshound1 digitalmars.com> Mar 11 2009
- Ellery Newcomer <ellery-newcomer utulsa.edu> Mar 12 2009
- dsimcha <dsimcha yahoo.com> Mar 12 2009
- Walter Bright <newshound1 digitalmars.com> Mar 12 2009
- Ellery Newcomer <ellery-newcomer utulsa.edu> Mar 12 2009
- Sean Kelly <sean invisibleduck.org> May 04 2009
davesun wrote:when can I use dmd on 64bit linux ?
You can now - 32 bit executables work fine on 64 bit linux!
Mar 11 2009
Walter Bright wrote:davesun wrote:when can I use dmd on 64bit linux ?
You can now - 32 bit executables work fine on 64 bit linux!
Maybe I should try it again sometime, but I ran into linker issues when I tried using DMD on 64bit linux. Other than that, DMD worked fine.
Mar 12 2009
== Quote from Ellery Newcomer (ellery-newcomer utulsa.edu)'s articleWalter Bright wrote:davesun wrote:when can I use dmd on 64bit linux ?
You can now - 32 bit executables work fine on 64 bit linux!
I tried using DMD on 64bit linux. Other than that, DMD worked fine.
Same here, but only on some installations of 64-bit Linux. Others work fine. I think the key is that you need the 32-bit version of GCC and all the libraries like libpthread, libgcc, libc, etc. available. I've been nagging my sysadmin to install these, though it matters less for me now that I have the DMD source and was able to make DMD work on some other Linux boxes that it previously didn't work on for unrelated reasons. If you have a bunch of Linux boxes around, you can also compile on one that has the 32-bit libs and copy the resulting binary over to one that doesn't, and it will usually work.
Mar 12 2009
dsimcha wrote:== Quote from Ellery Newcomer (ellery-newcomer utulsa.edu)'s articleWalter Bright wrote:davesun wrote:when can I use dmd on 64bit linux ?
You can now - 32 bit executables work fine on 64 bit linux!
I tried using DMD on 64bit linux. Other than that, DMD worked fine.
Same here, but only on some installations of 64-bit Linux. Others work fine. I think the key is that you need the 32-bit version of GCC and all the libraries like libpthread, libgcc, libc, etc. available. I've been nagging my sysadmin to install these, though it matters less for me now that I have the DMD source and was able to make DMD work on some other Linux boxes that it previously didn't work on for unrelated reasons. If you have a bunch of Linux boxes around, you can also compile on one that has the 32-bit libs and copy the resulting binary over to one that doesn't, and it will usually work.
On Ubuntu64, which is my main linux dev machine, the following is necessary: To compile 32 bit programs under ub64: sudo apt-get install gcc-multilib libc6-i386 lib6-dev-i386 To run 32 bit programs: sudo apt-get install gcc-multilib sudo apt-get install g++-multilib (After long bitter experience, I now keep notes on how to configure the machine after a fresh install <g>.)
Mar 12 2009
Walter Bright wrote:dsimcha wrote:== Quote from Ellery Newcomer (ellery-newcomer utulsa.edu)'s articleWalter Bright wrote:davesun wrote:when can I use dmd on 64bit linux ?
You can now - 32 bit executables work fine on 64 bit linux!
I tried using DMD on 64bit linux. Other than that, DMD worked fine.
Same here, but only on some installations of 64-bit Linux. Others work fine. I think the key is that you need the 32-bit version of GCC and all the libraries like libpthread, libgcc, libc, etc. available. I've been nagging my sysadmin to install these, though it matters less for me now that I have the DMD source and was able to make DMD work on some other Linux boxes that it previously didn't work on for unrelated reasons. If you have a bunch of Linux boxes around, you can also compile on one that has the 32-bit libs and copy the resulting binary over to one that doesn't, and it will usually work.
On Ubuntu64, which is my main linux dev machine, the following is necessary: To compile 32 bit programs under ub64: sudo apt-get install gcc-multilib libc6-i386 lib6-dev-i386 To run 32 bit programs: sudo apt-get install gcc-multilib sudo apt-get install g++-multilib (After long bitter experience, I now keep notes on how to configure the machine after a fresh install <g>.)
When I have free time again I'll give that a try. I found it easier just to put something inside a VM.
Mar 12 2009
== Quote from Walter Bright (newshound1 digitalmars.com)'s articledsimcha wrote:== Quote from Ellery Newcomer (ellery-newcomer utulsa.edu)'s articleWalter Bright wrote:davesun wrote:when can I use dmd on 64bit linux ?
You can now - 32 bit executables work fine on 64 bit linux!
I tried using DMD on 64bit linux. Other than that, DMD worked fine.
Same here, but only on some installations of 64-bit Linux. Others work fine. I think the key is that you need the 32-bit version of GCC and all the libraries like libpthread, libgcc, libc, etc. available. I've been nagging my sysadmin to install these, though it matters less for me now that I have the DMD source and was able to make DMD work on some other Linux boxes that it previously didn't work on for unrelated reasons. If you have a bunch of Linux boxes around, you can also compile on one that has the 32-bit libs and copy the resulting binary over to one that doesn't, and it will usually work.
To compile 32 bit programs under ub64: sudo apt-get install gcc-multilib libc6-i386 lib6-dev-i386 To run 32 bit programs: sudo apt-get install gcc-multilib sudo apt-get install g++-multilib (After long bitter experience, I now keep notes on how to configure the machine after a fresh install <g>.)
Seems I might have to as well. Before installing these, I was getting a "file not found" error running dmd. Now everything works perfectly. Talk about a confusing error message!
May 04 2009