digitalmars.D.learn - DMD Zip for Mac OS X
- Mike Parker (3/3) Feb 27 2015 I'm not a Mac user and I'm fairly clueless about it. The DMD zip
- Nicholas Wilson (3/6) Feb 28 2015 Most likely a disk image (.dmg).
- Ilya Yaroshenko (4/7) Feb 28 2015 Hi!
- Jacob Carlborg (12/14) Feb 28 2015 Yes. Since DMD on OS X got support for 64bit DMD has only been shipped
- Mike Parker (2/14) Feb 28 2015 Thanks, this is what I was looking for.
I'm not a Mac user and I'm fairly clueless about it. The DMD zip for OS X contains one executable. I assume it's a 64-bit binary. Is that true?
Feb 27 2015
On Saturday, 28 February 2015 at 06:45:58 UTC, Mike Parker wrote:I'm not a Mac user and I'm fairly clueless about it. The DMD zip for OS X contains one executable. I assume it's a 64-bit binary. Is that true?Most likely a disk image (.dmg). (en.wikipedia.org/wiki/Apple_Disk_Image)
Feb 28 2015
On Saturday, 28 February 2015 at 06:45:58 UTC, Mike Parker wrote:I'm not a Mac user and I'm fairly clueless about it. The DMD zip for OS X contains one executable. I assume it's a 64-bit binary. Is that true?Hi! Probably, yes. Anyway dmd compiles 64-bit binaries on OS X. Ilya
Feb 28 2015
On 2015-02-28 07:45, Mike Parker wrote:I'm not a Mac user and I'm fairly clueless about it. The DMD zip for OS X contains one executable. I assume it's a 64-bit binary. Is that true?Yes. Since DMD on OS X got support for 64bit DMD has only been shipped as 64bit. There's basically no Mac computers left that doesn't support 64bit. On some older computers the kernel is run in 32bit mode even thought the CPU supports 64bit. These computers can run both 32 and 64bit binaries. If one really do want to ship a 32 and a 64bit binary the OS X way is to create a universal binary containing both the 32 and 64bit version. All system libraries on OS X are universal binaries, so cross-compiling is usually no problem. -- /Jacob Carlborg
Feb 28 2015
On 2/28/2015 10:36 PM, Jacob Carlborg wrote:On 2015-02-28 07:45, Mike Parker wrote:Thanks, this is what I was looking for.I'm not a Mac user and I'm fairly clueless about it. The DMD zip for OS X contains one executable. I assume it's a 64-bit binary. Is that true?Yes. Since DMD on OS X got support for 64bit DMD has only been shipped as 64bit. There's basically no Mac computers left that doesn't support 64bit. On some older computers the kernel is run in 32bit mode even thought the CPU supports 64bit. These computers can run both 32 and 64bit binaries. If one really do want to ship a 32 and a 64bit binary the OS X way is to create a universal binary containing both the 32 and 64bit version. All system libraries on OS X are universal binaries, so cross-compiling is usually no problem.
Feb 28 2015