digitalmars.D - Target oldest supported OS by default
- Jacob Carlborg (8/8) Jan 10 2013 I just had an issue with a binary compiled on Mac OS X 10.8 not running
- Walter Bright (3/9) Jan 10 2013 Presumably there is some reason why this is not the default behavior of ...
- Jacob Carlborg (6/8) Jan 10 2013 I don't know. I've got the impression that, at least the tools by Apple,...
I just had an issue with a binary compiled on Mac OS X 10.8 not running on any older version. When I found the problem it was an easy fix adding the following linker flags: -L-macosx_version_min -L10.6 Would it be a good idea if DMD targeted the oldest supported OS by default, that is, when invoking GCC to link? -- /Jacob Carlborg
Jan 10 2013
On 1/10/2013 12:24 PM, Jacob Carlborg wrote:I just had an issue with a binary compiled on Mac OS X 10.8 not running on any older version. When I found the problem it was an easy fix adding the following linker flags: -L-macosx_version_min -L10.6 Would it be a good idea if DMD targeted the oldest supported OS by default, that is, when invoking GCC to link?Presumably there is some reason why this is not the default behavior of the linker. Some performance problem, maybe?
Jan 10 2013
On 2013-01-10 22:13, Walter Bright wrote:Presumably there is some reason why this is not the default behavior of the linker. Some performance problem, maybe?I don't know. I've got the impression that, at least the tools by Apple, target by default the same system you're building on. I general Apple wants you to run their latest software. -- /Jacob Carlborg
Jan 10 2013