From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 0E9DF3851C31 for ; Wed, 22 Jul 2020 16:51:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0E9DF3851C31 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=eliz@gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]:52790) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyHxo-0001ct-50; Wed, 22 Jul 2020 12:51:28 -0400 Received: from [176.228.60.248] (port=4558 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jyHxn-0002Kt-Gx; Wed, 22 Jul 2020 12:51:27 -0400 Date: Wed, 22 Jul 2020 19:51:26 +0300 Message-Id: <83a6zrfq7l.fsf@gnu.org> From: Eli Zaretskii To: gdb-patches@sourceware.org CC: Keith Marshall Subject: Cross-compiling a MinGW GDB X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2020 16:51:30 -0000 Does anyone build their MinGW GDB by cross-compiling it on GNU/Linux? If so, could you please share your experience with specifying the Python tree during the build, such that the built GDB will be able to use Python features on the target Windows systems? I'm asking because Kieth Marshall is trying to build a recent GDB this way, to update the binaries offered by the MinGW site, and he bumps into all kinds of annoying problems, see, for example, the discussion starting here: https://osdn.net/projects/mingw/lists/archive/users/2020-July/000607.html If someone could provide practical advice how to avoid these annoyances, It would probably make Keith's job much more pleasant and less time-consuming. I always build GDB natively, so I never had to deal with any of these problems. TIA