From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96970 invoked by alias); 29 Sep 2018 18:43:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 96952 invoked by uid 89); 29 Sep 2018 18:43:42 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=newest, Hx-languages-length:644, suspect X-HELO: mail-wr1-f42.google.com Received: from mail-wr1-f42.google.com (HELO mail-wr1-f42.google.com) (209.85.221.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 29 Sep 2018 18:43:41 +0000 Received: by mail-wr1-f42.google.com with SMTP id z4-v6so8233097wrb.1 for ; Sat, 29 Sep 2018 11:43:40 -0700 (PDT) Return-Path: Received: from ?IPv6:2001:8a0:f913:f700:4eeb:42ff:feef:f164? ([2001:8a0:f913:f700:4eeb:42ff:feef:f164]) by smtp.gmail.com with ESMTPSA id j46-v6sm14391575wre.91.2018.09.29.11.43.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Sep 2018 11:43:38 -0700 (PDT) Subject: Re: [RFC 0/6] A different approach to startup-with-shell on macOS To: Tom Tromey , gdb-patches@sourceware.org References: <20180926111130.18956-1-tom@tromey.com> From: Pedro Alves Message-ID: <5b3edfa9-215a-436e-af2c-f0226aaee5ce@redhat.com> Date: Sat, 29 Sep 2018 18:43:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180926111130.18956-1-tom@tromey.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2018-09/txt/msg00937.txt.bz2 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? Thanks, Pedro Alves