Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
February 28, 2015 DMD Zip for Mac OS X | ||||
---|---|---|---|---|
| ||||
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? |
February 28, 2015 Re: DMD Zip for Mac OS X | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | 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) |
February 28, 2015 Re: DMD Zip for Mac OS X | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | 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
|
February 28, 2015 Re: DMD Zip for Mac OS X | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | 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 |
February 28, 2015 Re: DMD Zip for Mac OS X | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 2/28/2015 10:36 PM, Jacob Carlborg wrote:
> 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.
>
Thanks, this is what I was looking for.
|
Copyright © 1999-2021 by the D Language Foundation