Thread overview | |||||
---|---|---|---|---|---|
|
January 10, 2013 Target oldest supported OS by default | ||||
---|---|---|---|---|
| ||||
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
|
January 10, 2013 Re: Target oldest supported OS by default | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | 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?
|
January 11, 2013 Re: Target oldest supported OS by default | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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 |
Copyright © 1999-2021 by the D Language Foundation