From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 888AD3858C5F for ; Wed, 1 Nov 2023 13:15:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 888AD3858C5F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 888AD3858C5F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=45.83.234.184 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698844562; cv=none; b=jAqD/YLvM6wNQSnX49U98DgxCSGXjtn9INom3RCq5QeYCV7Zu48uIL9tDo9s1H4OAHGlGbYK8PEaeddInhRk6Y97Akl7EugI4okXJ1d6OXZKt1N/FbTs8bTTVpaeKfcr+JKGX/llCHF/4oA595eATsJPqoSnlbgUymk9YA6i/wI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698844562; c=relaxed/simple; bh=AHuvwprim3IDg4brEhUSy2qQfs1V0hlPwgvp6kwdg/E=; h=Message-ID:Subject:From:To:Date:MIME-Version; b=gWBw8jMFiAfIHek7bFVPAhP6mvwtv6FrJsO+xmJ5BjAwuxAGNU0ktC7erGDuAt1V3PtKkoazzdReh4audG9QAMKx8BgRpqvJgG9fs6gkteQBBF5pUt5II6jFoHj9r0uspkF1vbwWOk3ABHAOFY4qbFy0Wv1uiqfQis3v8Vk3Oww= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from r6.localdomain (82-217-174-174.cable.dynamic.v4.ziggo.nl [82.217.174.174]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 99285302FDC3; Wed, 1 Nov 2023 14:15:47 +0100 (CET) Received: by r6.localdomain (Postfix, from userid 1000) id 5BBEC340078; Wed, 1 Nov 2023 14:15:47 +0100 (CET) Message-ID: <527651f4ca70f7845e933013956427748a23d254.camel@klomp.org> Subject: Re: Building Elfutils with Mingw32 From: Mark Wielaard To: "McAllister, Colin" , Ulf Hermann Cc: "elfutils-devel@sourceware.org" Date: Wed, 01 Nov 2023 14:15:47 +0100 In-Reply-To: References: <05996b4f-8464-ffdf-8629-c1e94aa73052@qt.io> <20230915210056.GA5558@gnu.wildebeest.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-3026.5 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,KAM_NUMSUBJECT,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, On Mon, 2023-09-18 at 13:18 +0000, McAllister, Colin via Elfutils-devel wrote: > > There is a large number of developers who build software for ELF-based > > embedded systems on windows and test/debug/profile/deploy it over some > > network or USB connection. Those people want to have elfutils for their > > debugging and profiling. They want to use elfutils on the host (the win= dows > > box) because that is much faster. >=20 > This is also our use case. I support developers that use Windows on their= host PC to develop Embedded Linux applications. I=E2=80=99m currently expl= oring options to provide Windows users the same development tooling to use = GDB with Debuginfod for them to be able to debug Embedded Linux application= s. >=20 > > Those people are not me and I'm not talking about sanity. >=20 > Likewise =F0=9F=98=8A > =20 > > > And why aren't people simply using cygwin for such a port? > >=20 > > If we built perfparser with cygwin, the people who use it would also ne= ed > > cygwin. People building embedded devices generally have a colorful mess= of > > different tools, none of which you can rely on in advance. I haven't > > considered shipping cygwin with perfparser. Is that actually possible? = It looks > > like it needs some installation procedure I would have to burden the us= er > > with. >=20 > I would prefer to use MinGW instead of Cygwin. So for those people preferring MinGW over Cygwin you still need some posix/linux compatibility layer. It isn't clear to me what that needs to be. It seems to become very complicated very quickly. For example there is this patch series: https://patchwork.sourceware.org/project/elfutils/list/?series=3D15310&stat= e=3D* I have reviewed and pushed various of those patches where they made sense (to me). But as you can see there are various patches that were just rejected and others where I really don't understand the real issue/solution. If someone could help reviewing those that would be really appreciated. Thanks, Mark