[RFC 0/6] A different approach to startup-with-shell on macOS

Simon Marchi simon.marchi@polymtl.ca
Sat Sep 29 19:50:00 GMT 2018


On 2018-09-29 14:43, Pedro Alves wrote:
> On 09/26/2018 12:11 PM, Tom Tromey wrote:
> 
>> One question I have is whether it's possible to build gdb on an older
>> version of macOS and then run it on a newer version.  If this can be
>> done, then the #if-based approach taken in the final patch will not
>> work.
> 
> I'd suspect so.  What, e.g., does Homebrew do?  Do they have packages
> built once for every Darwin version, or a single binary for several
> Darwin versions?  I'd think the latter, but I don't really know.
> And if indeed the latter, do they always build on the newest
> Darwin, or perhaps the oldest?

Here's the answer I got on the homebrew IRC channel:

> homebrew generally does this (but i think it's probably more 
> conservative than it needs to be)
> a bottle should never be deployed to an older macos version than it was 
> built on, anyway

"this" refers to whether the binaries always run on the same macos 
version as the one on which they have been built.

Simon



More information about the Gdb-patches mailing list