Sign up

OSX build

The Debian and Fedora builds both default to 64-bit on my 64-bit hardware. The OSX build defaults to 32-bit on 64-bit hardware. Is this as expected?

Re: OSX build

I note that "uname -m" gives x8664 on Debian, Fedora, and OSX, but arch give x8664 on Debian and Fedora, but i386 on OSX. This is annoying. I have the 64-bit DMD, druntime, and Phobos. Why is OSX arch delivering i386 on a perfectly good 64-bit system, witness the "uname -m" result.

Re: OSX build

On 11/30/2015 08:56 AM, Russel Winder wrote:

I note that "uname -m" gives x8664 on Debian, Fedora, and OSX, but arch give x8664 on Debian and Fedora, but i386 on OSX. This is annoying. I have the 64-bit DMD, druntime, and Phobos. Why is OSX arch delivering i386 on a perfectly good 64-bit system, witness the "uname -m" result.

I've switched the order of arch and uname -m, so that the makefile uses
uname when available.

https://github.com/gtkd-developers/GtkD/commit/fc5a0a3fe9630b86942fe7af2f85f5c0286fb07b

Re: OSX build

Splendid, thanks. That will save a lot of hassle.