digitalmars.D.announce - dmd 1.052 for Mac OSX 10.6
- Walter Bright (3/3) Nov 12 2009 An update just to support Mac OSX 10.6. That also means the end of the
- Walter Bright (2/2) Nov 12 2009 Fixed url:
- Nick Sabalausky (6/9) Nov 12 2009 I propose that the first person to complain about the withdrawn 10.5 sup...
- BCS (2/15) Nov 12 2009 Better yet, they get to maintain a backport!
- Walter Bright (5/16) Nov 12 2009 There is still dmd 1.051, which isn't going away. dmd 1.052 may even
- Sean Kelly (2/5) Nov 12 2009 The 10.4 libraries aren't installed by default, even if you install the ...
- Walter Bright (3/10) Nov 12 2009 I installed everything that came on the upgrade DVD.
- Anders Bergh (7/25) Nov 12 2009 No, but you'll need to use the 10.4 SDK (it's optional when you
- Walter Bright (3/7) Nov 12 2009 I did have the 10.4 SDK installed, but apparently the upgrade deleted it...
- Michel Fortin (16/24) Nov 13 2009 Yeah, it does so. Unless you check the "Mac OS X 10.4 Support"
- Walter Bright (3/27) Nov 13 2009 Thanks for the tip. I'll look into it. I thought I had checked all the
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (5/8) Nov 13 2009 What is with the spelling of Mac OS X ?
- Denis Koroskin (10/13) Nov 13 2009 Isn't there any way to support both platforms?
- Walter Bright (13/29) Nov 13 2009 No way to test on 10.5 without buying yet another machine. I don't know
- Michel Fortin (13/17) Nov 13 2009 Really? Can't you just partition your hard disk in two for 10.5? I'm
- BCS (3/14) Nov 13 2009 IIRC Walter mentioned in the NG that his mac box is running as a headles...
- Daniel de Kok (6/15) Nov 14 2009 Why go through the hassle of dual booting? Kernel ABI compatibility is
- Jacob Carlborg (9/39) Nov 13 2009 Can't you wrap the changes you made in:
- Jacob Carlborg (2/46) Nov 13 2009
- Denis Koroskin (3/53) Nov 13 2009 That way you won't be able to produce different executables for both OSX...
- Long Chang (1/1) Nov 13 2009 may be use a virtual machine can work. like VMware or XEN.
- Jacob Carlborg (4/34) Nov 13 2009 I filed an issue with a path attached that as far as I can see fixes the...
An update just to support Mac OSX 10.6. That also means the end of the line for official support of 10.5 and earlier. http://ftp.digitalmars.com/dmd.1.051.zip
Nov 12 2009
Fixed url: http://ftp.digitalmars.com/dmd.1.052.zip
Nov 12 2009
"Walter Bright" <newshound1 digitalmars.com> wrote in message news:hdim1s$30m8$1 digitalmars.com...An update just to support Mac OSX 10.6. That also means the end of the line for official support of 10.5 and earlier. http://ftp.digitalmars.com/dmd.1.051.zipI propose that the first person to complain about the withdrawn 10.5 support be obligated to wear a "Welcome to Apple" sticker on their forehead for the rest of the day. (Hell, if I'm stuck with this "Beware of smartass" sticker...just...won't...come off...)
Nov 12 2009
Hello Nick,"Walter Bright" <newshound1 digitalmars.com> wrote in message news:hdim1s$30m8$1 digitalmars.com...Better yet, they get to maintain a backport!An update just to support Mac OSX 10.6. That also means the end of the line for official support of 10.5 and earlier. http://ftp.digitalmars.com/dmd.1.051.zipI propose that the first person to complain about the withdrawn 10.5 support be obligated to wear a "Welcome to Apple" sticker on their forehead for the rest of the day. (Hell, if I'm stuck with this "Beware of smartass" sticker...just...won't...come off...)
Nov 12 2009
Nick Sabalausky wrote:"Walter Bright" <newshound1 digitalmars.com> wrote in message news:hdim1s$30m8$1 digitalmars.com...There is still dmd 1.051, which isn't going away. dmd 1.052 may even work fine on 10.5, it just won't be supported on 10.5. BTW, the 10.6 upgrade for the Apple C compiler, etc., seems to have broken support for 10.4.An update just to support Mac OSX 10.6. That also means the end of the line for official support of 10.5 and earlier. http://ftp.digitalmars.com/dmd.1.051.zipI propose that the first person to complain about the withdrawn 10.5 support be obligated to wear a "Welcome to Apple" sticker on their forehead for the rest of the day. (Hell, if I'm stuck with this "Beware of smartass" sticker...just...won't...come off...)
Nov 12 2009
Walter Bright Wrote:BTW, the 10.6 upgrade for the Apple C compiler, etc., seems to have broken support for 10.4.The 10.4 libraries aren't installed by default, even if you install the developer package. No idea if that would fix things though. And Apple doesn't support 10.4 anyway.
Nov 12 2009
Sean Kelly wrote:Walter Bright Wrote:I installed everything that came on the upgrade DVD. The OSX makefiles all broke.BTW, the 10.6 upgrade for the Apple C compiler, etc., seems to have broken support for 10.4.The 10.4 libraries aren't installed by default, even if you install the developer package. No idea if that would fix things though. And Apple doesn't support 10.4 anyway.
Nov 12 2009
On Fri, Nov 13, 2009 at 06:06, Walter Bright <newshound1 digitalmars.com> wrote:Nick Sabalausky wrote:No, but you'll need to use the 10.4 SDK (it's optional when you install Xcode though). Same problem as last time, between 10.4 and 10.5. But any binaries you compile for 10.4 should work on 10.6 as well. -- Anders Bergh"Walter Bright" <newshound1 digitalmars.com> wrote in message news:hdim1s$30m8$1 digitalmars.com...There is still dmd 1.051, which isn't going away. dmd 1.052 may even work fine on 10.5, it just won't be supported on 10.5. BTW, the 10.6 upgrade for the Apple C compiler, etc., seems to have broken support for 10.4.An update just to support Mac OSX 10.6. That also means the end of the line for official support of 10.5 and earlier. http://ftp.digitalmars.com/dmd.1.051.zipI propose that the first person to complain about the withdrawn 10.5 support be obligated to wear a "Welcome to Apple" sticker on their forehead for the rest of the day. (Hell, if I'm stuck with this "Beware of smartass" sticker...just...won't...come off...)
Nov 12 2009
Anders Bergh wrote:No, but you'll need to use the 10.4 SDK (it's optional when you install Xcode though). Same problem as last time, between 10.4 and 10.5. But any binaries you compile for 10.4 should work on 10.6 as well.I did have the 10.4 SDK installed, but apparently the upgrade deleted it because the makefiles that referred to it all broke.
Nov 12 2009
On 2009-11-13 01:52:07 -0500, Walter Bright <newshound1 digitalmars.com> said:Anders Bergh wrote:Yeah, it does so. Unless you check the "Mac OS X 10.4 Support" subpackage, which is unchecked by default, in the custom installation panel of the Xcode installer. Also, you can keep your old installations of Xcode on 10.6. I have Xcode 2.5 from Tiger, 3.0 and 3.1 from Leopard, and 3.2 from Snow Leopard running all side by side just fine on my computer. This includes both the IDE and the command line utilities. Even the old compilers and linkers work fine. Before installing a new version, I just rename the old "/Developer" folder to something else so the new one won't override it. It is documented to work in the Read Me file accompanying Xcode, and it does indeed work fine. -- Michel Fortin michel.fortin michelf.com http://michelf.com/No, but you'll need to use the 10.4 SDK (it's optional when you install Xcode though). Same problem as last time, between 10.4 and 10.5. But any binaries you compile for 10.4 should work on 10.6 as well.I did have the 10.4 SDK installed, but apparently the upgrade deleted it because the makefiles that referred to it all broke.
Nov 13 2009
Michel Fortin wrote:On 2009-11-13 01:52:07 -0500, Walter Bright <newshound1 digitalmars.com> said:Thanks for the tip. I'll look into it. I thought I had checked all the checkboxes <g>.Anders Bergh wrote:Yeah, it does so. Unless you check the "Mac OS X 10.4 Support" subpackage, which is unchecked by default, in the custom installation panel of the Xcode installer. Also, you can keep your old installations of Xcode on 10.6. I have Xcode 2.5 from Tiger, 3.0 and 3.1 from Leopard, and 3.2 from Snow Leopard running all side by side just fine on my computer. This includes both the IDE and the command line utilities. Even the old compilers and linkers work fine. Before installing a new version, I just rename the old "/Developer" folder to something else so the new one won't override it. It is documented to work in the Read Me file accompanying Xcode, and it does indeed work fine.No, but you'll need to use the 10.4 SDK (it's optional when you install Xcode though). Same problem as last time, between 10.4 and 10.5. But any binaries you compile for 10.4 should work on 10.6 as well.I did have the 10.4 SDK installed, but apparently the upgrade deleted it because the makefiles that referred to it all broke.
Nov 13 2009
Walter Bright wrote:An update just to support Mac OSX 10.6.What is with the spelling of Mac OS X ? Seems consistent throughout, just wrong.That also means the end of the line for official support of 10.5 and earlier.Bye-bye, DMD. --anders
Nov 13 2009
On Fri, 13 Nov 2009 07:07:21 +0300, Walter Bright <newshound1 digitalmars.com> wrote:An update just to support Mac OSX 10.6. That also means the end of the line for official support of 10.5 and earlier. http://ftp.digitalmars.com/dmd.1.051.zipIsn't there any way to support both platforms? Looking at the changes, I think it's even possible to add a new DMD flag (e.g. "-osx=10.5", defaults to 10.6) and keep an older behavior on demand. Alternatively, you could wrap the changes you made into #ifdef OSX_10_6 ... #else ... #endif so that users could compile DMD with older Macs support from source. DMD would then be distributed with 2 binaries, e.g. dmd_10.6 and dmd_10.5 and dmd would be an alias/symlink to either of them (depending on the target platform).
Nov 13 2009
Denis Koroskin wrote:On Fri, 13 Nov 2009 07:07:21 +0300, Walter Bright <newshound1 digitalmars.com> wrote:No way to test on 10.5 without buying yet another machine. I don't know if it works or not on 10.5. The "bus error" for 10.4 is probably back because installing the 10.6 dev system from Apple seems to have deleted the 10.4 stuff. If someone wants to test it on 10.5, please do and report back with the results. If it does not, and there's some simple change to make it do so, I'll be happy to fold it in.An update just to support Mac OSX 10.6. That also means the end of the line for official support of 10.5 and earlier. http://ftp.digitalmars.com/dmd.1.051.zipIsn't there any way to support both platforms?Looking at the changes, I think it's even possible to add a new DMD flag (e.g. "-osx=10.5", defaults to 10.6) and keep an older behavior on demand.The compiler changes should be backwards compatible with 10.5. (The reason it didn't work with 10.6 is Apple changed the linker behavior; I found a workaround which appears successful.)Alternatively, you could wrap the changes you made into #ifdef OSX_10_6 ... #else ... #endif so that users could compile DMD with older Macs support from source. DMD would then be distributed with 2 binaries, e.g. dmd_10.6 and dmd_10.5 and dmd would be an alias/symlink to either of them (depending on the target platform).On Windows I can build one binary that works from NT to Win7, a 20 year span of operating systems.
Nov 13 2009
On 2009-11-13 05:20:44 -0500, Walter Bright <newshound1 digitalmars.com> said:No way to test on 10.5 without buying yet another machine. I don't know if it works or not on 10.5. The "bus error" for 10.4 is probably back because installing the 10.6 dev system from Apple seems to have deleted the 10.4 stuff.Really? Can't you just partition your hard disk in two for 10.5? I'm not saying you should take the burden of testing with both, but saying you can't install 10.5 alongside 10.6 seems dubious to me: 1. Use Disk Utility to resize your current partition and create a new one. 2. Boot using your 10.5 installer DVD and install on the new partition. 3. Press option at startup to see a boot menu; open the Startup preference pane to set the default boot partition (or use "bless" on the command line). -- Michel Fortin michel.fortin michelf.com http://michelf.com/
Nov 13 2009
Hello Michel,Really? Can't you just partition your hard disk in two for 10.5? I'm not saying you should take the burden of testing with both, but saying you can't install 10.5 alongside 10.6 seems dubious to me: 1. Use Disk Utility to resize your current partition and create a new one. 2. Boot using your 10.5 installer DVD and install on the new partition. 3. Press option at startup to see a boot menu; open the Startup preference pane to set the default boot partition (or use "bless" on the command line).IIRC Walter mentioned in the NG that his mac box is running as a headless box in the basement somewhere so boot switching might be annoying.
Nov 13 2009
On 2009-11-13 14:55:12 +0100, Michel Fortin <michel.fortin michelf.com> said:Really? Can't you just partition your hard disk in two for 10.5? I'm not saying you should take the burden of testing with both, but saying you can't install 10.5 alongside 10.6 seems dubious to me: 1. Use Disk Utility to resize your current partition and create a new one. 2. Boot using your 10.5 installer DVD and install on the new partition. 3. Press option at startup to see a boot menu; open the Startup preference pane to set the default boot partition (or use "bless" on the command line).Why go through the hassle of dual booting? Kernel ABI compatibility is usually quite good in OS X, so it should be not problem to unpack the Darwin userland somewhere and chroot into it for 10.5 testing... Take care, Daniel
Nov 14 2009
On 11/13/09 11:20, Walter Bright wrote:Denis Koroskin wrote:Can't you wrap the changes you made in: SInt32 MacVersion; if (Gestalt(gestaltSystemVersion, &MacVersion) == noErr) if (MacVersion >= 0x1050 && MacVersion < 0x1060) // Mac OS X 10.5.x code goes here else if (MacVersion >= 0x1060) // Mac OS X 10.6.x code goes hereOn Fri, 13 Nov 2009 07:07:21 +0300, Walter Bright <newshound1 digitalmars.com> wrote:No way to test on 10.5 without buying yet another machine. I don't know if it works or not on 10.5. The "bus error" for 10.4 is probably back because installing the 10.6 dev system from Apple seems to have deleted the 10.4 stuff. If someone wants to test it on 10.5, please do and report back with the results. If it does not, and there's some simple change to make it do so, I'll be happy to fold it in.An update just to support Mac OSX 10.6. That also means the end of the line for official support of 10.5 and earlier. http://ftp.digitalmars.com/dmd.1.051.zipIsn't there any way to support both platforms?Looking at the changes, I think it's even possible to add a new DMD flag (e.g. "-osx=10.5", defaults to 10.6) and keep an older behavior on demand.The compiler changes should be backwards compatible with 10.5. (The reason it didn't work with 10.6 is Apple changed the linker behavior; I found a workaround which appears successful.)Alternatively, you could wrap the changes you made into #ifdef OSX_10_6 ... #else ... #endif so that users could compile DMD with older Macs support from source. DMD would then be distributed with 2 binaries, e.g. dmd_10.6 and dmd_10.5 and dmd would be an alias/symlink to either of them (depending on the target platform).On Windows I can build one binary that works from NT to Win7, a 20 year span of operating systems.
Nov 13 2009
On 11/13/09 15:30, Jacob Carlborg wrote:On 11/13/09 11:20, Walter Bright wrote:That would be Mac OS X 10.6.x and laterDenis Koroskin wrote:Can't you wrap the changes you made in: SInt32 MacVersion; if (Gestalt(gestaltSystemVersion, &MacVersion) == noErr) if (MacVersion >= 0x1050 && MacVersion < 0x1060) // Mac OS X 10.5.x code goes here else if (MacVersion >= 0x1060) // Mac OS X 10.6.x code goes hereOn Fri, 13 Nov 2009 07:07:21 +0300, Walter Bright <newshound1 digitalmars.com> wrote:No way to test on 10.5 without buying yet another machine. I don't know if it works or not on 10.5. The "bus error" for 10.4 is probably back because installing the 10.6 dev system from Apple seems to have deleted the 10.4 stuff. If someone wants to test it on 10.5, please do and report back with the results. If it does not, and there's some simple change to make it do so, I'll be happy to fold it in.An update just to support Mac OSX 10.6. That also means the end of the line for official support of 10.5 and earlier. http://ftp.digitalmars.com/dmd.1.051.zipIsn't there any way to support both platforms?Looking at the changes, I think it's even possible to add a new DMD flag (e.g. "-osx=10.5", defaults to 10.6) and keep an older behavior on demand.The compiler changes should be backwards compatible with 10.5. (The reason it didn't work with 10.6 is Apple changed the linker behavior; I found a workaround which appears successful.)Alternatively, you could wrap the changes you made into #ifdef OSX_10_6 ... #else ... #endif so that users could compile DMD with older Macs support from source. DMD would then be distributed with 2 binaries, e.g. dmd_10.6 and dmd_10.5 and dmd would be an alias/symlink to either of them (depending on the target platform).On Windows I can build one binary that works from NT to Win7, a 20 year span of operating systems.
Nov 13 2009
On Fri, 13 Nov 2009 17:31:13 +0300, Jacob Carlborg <doob me.com> wrote:On 11/13/09 15:30, Jacob Carlborg wrote:That way you won't be able to produce different executables for both OSX 10.6 and OSX 10.5 without having the two Operating Systems installed.On 11/13/09 11:20, Walter Bright wrote:That would be Mac OS X 10.6.x and laterDenis Koroskin wrote:Can't you wrap the changes you made in: SInt32 MacVersion; if (Gestalt(gestaltSystemVersion, &MacVersion) == noErr) if (MacVersion >= 0x1050 && MacVersion < 0x1060) // Mac OS X 10.5.x code goes here else if (MacVersion >= 0x1060) // Mac OS X 10.6.x code goes hereOn Fri, 13 Nov 2009 07:07:21 +0300, Walter Bright <newshound1 digitalmars.com> wrote:No way to test on 10.5 without buying yet another machine. I don't know if it works or not on 10.5. The "bus error" for 10.4 is probably back because installing the 10.6 dev system from Apple seems to have deleted the 10.4 stuff. If someone wants to test it on 10.5, please do and report back with the results. If it does not, and there's some simple change to make it do so, I'll be happy to fold it in.An update just to support Mac OSX 10.6. That also means the end of the line for official support of 10.5 and earlier. http://ftp.digitalmars.com/dmd.1.051.zipIsn't there any way to support both platforms?Looking at the changes, I think it's even possible to add a new DMD flag (e.g. "-osx=10.5", defaults to 10.6) and keep an older behavior on demand.The compiler changes should be backwards compatible with 10.5. (The reason it didn't work with 10.6 is Apple changed the linker behavior; I found a workaround which appears successful.)Alternatively, you could wrap the changes you made into #ifdef OSX_10_6 ... #else ... #endif so that users could compile DMD with older Macs support from source. DMD would then be distributed with 2 binaries, e.g. dmd_10.6 and dmd_10.5 and dmd would be an alias/symlink to either of them (depending on the target platform).On Windows I can build one binary that works from NT to Win7, a 20 year span of operating systems.
Nov 13 2009
may be use a virtual machine can work. like VMware or XEN.
Nov 13 2009
On 11/13/09 11:20, Walter Bright wrote:Denis Koroskin wrote:I filed an issue with a path attached that as far as I can see fixes the dropped Mac OS X 10.5 support. http://d.puremagic.com/issues/show_bug.cgi?id=3502On Fri, 13 Nov 2009 07:07:21 +0300, Walter Bright <newshound1 digitalmars.com> wrote:No way to test on 10.5 without buying yet another machine. I don't know if it works or not on 10.5. The "bus error" for 10.4 is probably back because installing the 10.6 dev system from Apple seems to have deleted the 10.4 stuff. If someone wants to test it on 10.5, please do and report back with the results. If it does not, and there's some simple change to make it do so, I'll be happy to fold it in.An update just to support Mac OSX 10.6. That also means the end of the line for official support of 10.5 and earlier. http://ftp.digitalmars.com/dmd.1.051.zipIsn't there any way to support both platforms?Looking at the changes, I think it's even possible to add a new DMD flag (e.g. "-osx=10.5", defaults to 10.6) and keep an older behavior on demand.The compiler changes should be backwards compatible with 10.5. (The reason it didn't work with 10.6 is Apple changed the linker behavior; I found a workaround which appears successful.)Alternatively, you could wrap the changes you made into #ifdef OSX_10_6 ... #else ... #endif so that users could compile DMD with older Macs support from source. DMD would then be distributed with 2 binaries, e.g. dmd_10.6 and dmd_10.5 and dmd would be an alias/symlink to either of them (depending on the target platform).On Windows I can build one binary that works from NT to Win7, a 20 year span of operating systems.
Nov 13 2009