digitalmars.D - Strange issue on OSX
- Jeremy DeHaan (13/13) Jun 12 2014 I wanted to try out OSX to make sure all my stuff was working
- Jeremy DeHaan (6/19) Jun 12 2014 Just tried downloading the .zip instead of using the installer. I
- Jeremy DeHaan (3/27) Jun 12 2014 So building from source seemed to work. Is it possible that the
- Tolga Cakiroglu (6/36) Jun 12 2014 In the download page, table shows for which CPU type they are
- Jacob Carlborg (7/11) Jun 13 2014 That's not correct. The zip file only contains 64bit. DMD for OS X has
- Tolga Cakiroglu (5/17) Jun 13 2014 Well, then somebody should update what the download page lists
- "Marc =?UTF-8?B?U2Now7x0eiI=?= <schuetzm gmx.net> (2/22) Jun 13 2014 https://github.com/D-Programming-Language/dlang.org/pull/593
- Jeremy DeHaan (4/24) Jun 13 2014 I agree. Also, this page (http://dlang.org/dmd-osx.html) says
- Chris Cain (7/11) Jun 13 2014 Honestly, I feel like it should be noted that you need to build
- Jeremy DeHaan (6/17) Jun 13 2014 I didn't realize that was the case. Like I said in my original
- Jacob Carlborg (5/8) Jun 14 2014 Technically you can run 64bit applications on 32bit OS X if you have a
- "Marc =?UTF-8?B?U2Now7x0eiI=?= <schuetzm gmx.net> (3/11) Jun 14 2014 Really? The other way round, yes, but this would really surprise
- David Nadlinger (4/9) Jun 14 2014 Yes. Before Mountain Lion, you could choose to run the Mach
I wanted to try out OSX to make sure all my stuff was working fine there as well, but after downloading DMD and then running it in the terminal to make sure everything was good it gives me this error: /usr/bin/dmd: Bad CPU type in executable This is my first time using a Mac, so I could very well be doing something wrong. I didn't want to spend a lot of money, so it is a slightly older machine currently running OSX 10.6.8. It is an Intel Core Duo, which apparently won't let me upgrade to Mavericks, so I'm stuck with Snow Leopard. Any advice for what I should do? Anyone seen this error before? Thanks in advance, Jeremy
Jun 12 2014
Just tried downloading the .zip instead of using the installer. I got the same problem. I also tried downloading 2.064, and again I got the same error message. I did notice that not everything give me the Bad CPU Type error message. I'll try building from source and see how that goes. On Thursday, 12 June 2014 at 23:12:38 UTC, Jeremy DeHaan wrote:I wanted to try out OSX to make sure all my stuff was working fine there as well, but after downloading DMD and then running it in the terminal to make sure everything was good it gives me this error: /usr/bin/dmd: Bad CPU type in executable This is my first time using a Mac, so I could very well be doing something wrong. I didn't want to spend a lot of money, so it is a slightly older machine currently running OSX 10.6.8. It is an Intel Core Duo, which apparently won't let me upgrade to Mavericks, so I'm stuck with Snow Leopard. Any advice for what I should do? Anyone seen this error before? Thanks in advance, Jeremy
Jun 12 2014
So building from source seemed to work. Is it possible that the OSX version of DMD was released as a 64 bit version? On Friday, 13 June 2014 at 03:53:30 UTC, Jeremy DeHaan wrote:Just tried downloading the .zip instead of using the installer. I got the same problem. I also tried downloading 2.064, and again I got the same error message. I did notice that not everything give me the Bad CPU Type error message. I'll try building from source and see how that goes. On Thursday, 12 June 2014 at 23:12:38 UTC, Jeremy DeHaan wrote:I wanted to try out OSX to make sure all my stuff was working fine there as well, but after downloading DMD and then running it in the terminal to make sure everything was good it gives me this error: /usr/bin/dmd: Bad CPU type in executable This is my first time using a Mac, so I could very well be doing something wrong. I didn't want to spend a lot of money, so it is a slightly older machine currently running OSX 10.6.8. It is an Intel Core Duo, which apparently won't let me upgrade to Mavericks, so I'm stuck with Snow Leopard. Any advice for what I should do? Anyone seen this error before? Thanks in advance, Jeremy
Jun 12 2014
In the download page, table shows for which CPU type they are available. dmd.2.065.0.zip shows i386 and x86_64. So, this should run on 32 and 64-bits. dmd.2.065.0.dmg shows only x86_64 which is for 64-bit CPU only. On Friday, 13 June 2014 at 04:25:38 UTC, Jeremy DeHaan wrote:So building from source seemed to work. Is it possible that the OSX version of DMD was released as a 64 bit version? On Friday, 13 June 2014 at 03:53:30 UTC, Jeremy DeHaan wrote:Just tried downloading the .zip instead of using the installer. I got the same problem. I also tried downloading 2.064, and again I got the same error message. I did notice that not everything give me the Bad CPU Type error message. I'll try building from source and see how that goes. On Thursday, 12 June 2014 at 23:12:38 UTC, Jeremy DeHaan wrote:I wanted to try out OSX to make sure all my stuff was working fine there as well, but after downloading DMD and then running it in the terminal to make sure everything was good it gives me this error: /usr/bin/dmd: Bad CPU type in executable This is my first time using a Mac, so I could very well be doing something wrong. I didn't want to spend a lot of money, so it is a slightly older machine currently running OSX 10.6.8. It is an Intel Core Duo, which apparently won't let me upgrade to Mavericks, so I'm stuck with Snow Leopard. Any advice for what I should do? Anyone seen this error before? Thanks in advance, Jeremy
Jun 12 2014
On 13/06/14 07:26, Tolga Cakiroglu wrote:In the download page, table shows for which CPU type they are available. dmd.2.065.0.zip shows i386 and x86_64. So, this should run on 32 and 64-bits. dmd.2.065.0.dmg shows only x86_64 which is for 64-bit CPU only.That's not correct. The zip file only contains 64bit. DMD for OS X has only been released as 64bit for quite a while now. Just run the "file" command on the dmd executable to see which platforms it supports. -- /Jacob Carlborg
Jun 13 2014
On Friday, 13 June 2014 at 07:13:36 UTC, Jacob Carlborg wrote:On 13/06/14 07:26, Tolga Cakiroglu wrote:Well, then somebody should update what the download page lists there. At least make it clear and "correct". If I and others think or cannot understand which one to download correctly, that means there is a problem.In the download page, table shows for which CPU type they are available. dmd.2.065.0.zip shows i386 and x86_64. So, this should run on 32 and 64-bits. dmd.2.065.0.dmg shows only x86_64 which is for 64-bit CPU only.That's not correct. The zip file only contains 64bit. DMD for OS X has only been released as 64bit for quite a while now. Just run the "file" command on the dmd executable to see which platforms it supports.
Jun 13 2014
On Friday, 13 June 2014 at 15:14:00 UTC, Tolga Cakiroglu wrote:On Friday, 13 June 2014 at 07:13:36 UTC, Jacob Carlborg wrote:https://github.com/D-Programming-Language/dlang.org/pull/593On 13/06/14 07:26, Tolga Cakiroglu wrote:Well, then somebody should update what the download page lists there. At least make it clear and "correct". If I and others think or cannot understand which one to download correctly, that means there is a problem.In the download page, table shows for which CPU type they are available. dmd.2.065.0.zip shows i386 and x86_64. So, this should run on 32 and 64-bits. dmd.2.065.0.dmg shows only x86_64 which is for 64-bit CPU only.That's not correct. The zip file only contains 64bit. DMD for OS X has only been released as 64bit for quite a while now. Just run the "file" command on the dmd executable to see which platforms it supports.
Jun 13 2014
On Friday, 13 June 2014 at 15:14:00 UTC, Tolga Cakiroglu wrote:On Friday, 13 June 2014 at 07:13:36 UTC, Jacob Carlborg wrote:I agree. Also, this page (http://dlang.org/dmd-osx.html) says that the base requirement is a 32 bit OSX. Why is the DMD version that is released 64 bit? That seems very counter intuitive.On 13/06/14 07:26, Tolga Cakiroglu wrote:Well, then somebody should update what the download page lists there. At least make it clear and "correct". If I and others think or cannot understand which one to download correctly, that means there is a problem.In the download page, table shows for which CPU type they are available. dmd.2.065.0.zip shows i386 and x86_64. So, this should run on 32 and 64-bits. dmd.2.065.0.dmg shows only x86_64 which is for 64-bit CPU only.That's not correct. The zip file only contains 64bit. DMD for OS X has only been released as 64bit for quite a while now. Just run the "file" command on the dmd executable to see which platforms it supports.
Jun 13 2014
On Saturday, 14 June 2014 at 02:12:45 UTC, Jeremy DeHaan wrote:I agree. Also, this page (http://dlang.org/dmd-osx.html) says that the base requirement is a 32 bit OSX. Why is the DMD version that is released 64 bit? That seems very counter intuitive.Honestly, I feel like it should be noted that you need to build from source to get the 32-bit version... but I don't see why it should be included in the actual binary release. Not even Apple supports the 32-bit hardware anymore. AFAIK, 64-bit Macs came out in late 2006, so we're talking about 8 year old hardware at this point.
Jun 13 2014
On Saturday, 14 June 2014 at 02:30:56 UTC, Chris Cain wrote:On Saturday, 14 June 2014 at 02:12:45 UTC, Jeremy DeHaan wrote:I didn't realize that was the case. Like I said in my original post, I haven't used a mac before this so I am pretty new to them. It definitely would have been nice if it said something about needing to build it for 32 bit OSX though. I think that would have saved me a lot of time.I agree. Also, this page (http://dlang.org/dmd-osx.html) says that the base requirement is a 32 bit OSX. Why is the DMD version that is released 64 bit? That seems very counter intuitive.Honestly, I feel like it should be noted that you need to build from source to get the 32-bit version... but I don't see why it should be included in the actual binary release. Not even Apple supports the 32-bit hardware anymore. AFAIK, 64-bit Macs came out in late 2006, so we're talking about 8 year old hardware at this point.
Jun 13 2014
On 2014-06-14 04:12, Jeremy DeHaan wrote:I agree. Also, this page (http://dlang.org/dmd-osx.html) says that the base requirement is a 32 bit OSX. Why is the DMD version that is released 64 bit? That seems very counter intuitive.Technically you can run 64bit applications on 32bit OS X if you have a 64bit CPU. -- /Jacob Carlborg
Jun 14 2014
On Saturday, 14 June 2014 at 10:38:08 UTC, Jacob Carlborg wrote:On 2014-06-14 04:12, Jeremy DeHaan wrote:Really? The other way round, yes, but this would really surprise me...I agree. Also, this page (http://dlang.org/dmd-osx.html) says that the base requirement is a 32 bit OSX. Why is the DMD version that is released 64 bit? That seems very counter intuitive.Technically you can run 64bit applications on 32bit OS X if you have a 64bit CPU.
Jun 14 2014
On Saturday, 14 June 2014 at 11:16:57 UTC, Marc Schütz wrote:On Saturday, 14 June 2014 at 10:38:08 UTC, Jacob Carlborg wrote:Yes. Before Mountain Lion, you could choose to run the Mach kernel in 32 bit mode while running 64 bit applications. DavidTechnically you can run 64bit applications on 32bit OS X if you have a 64bit CPU.Really? The other way round, yes, but this would really surprise me...
Jun 14 2014