X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D8B8A382E82F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1615756799;
	bh=8RsbJ7bw5gIhxBhC0QZ/sBsKl0gICJe+FsnumVn/MSo=;
	h=To:Subject:Date:References:List-Id:List-Unsubscribe:List-Archive:
	 List-Post:List-Help:List-Subscribe:From:Reply-To:From;
	b=PTnPDxWr7qu8t+3Z7Q1aNiEhmn7q7CXRL9VmQI/qoYODFGI20S+j6JtoPrNXE+LfZ
	 J5D2Nbd0zvDwv7fOuAK2DsjRuVMAPeC4jls+Jgp5E9Tqs5IYI6wNaNXRdHdpws6vdK
	 TRAGA5Pbg94f+A9RK99O6beWePbarB/OEyX+G8gw=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9DDF63851C29
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
Subject: Re: libgccjit
Date: Sun, 14 Mar 2021 21:19:48 +0000
Message-ID: <86o8flo2kr.fsf@gmail.com>
References: <037d5d0a-db79-d769-cedd-2c25684add8a@cornell.edu>
 <YEnuDNuBo1mVcaZs@calimero.vinschen.de>
 <629c22b5-9c89-51dd-57a1-13af6b0a87df@gmail.com>
 <8735wyol2k.fsf@Rainer.invalid> <87y2eqmdl4.fsf@Rainer.invalid>
 <d41af840-ccdf-f287-dab5-3d833af01e11@gmail.com>
 <87pn01n1p2.fsf@Rainer.invalid> <86h7ldpnc6.fsf@gmail.com>
 <87im5tmqn5.fsf@Rainer.invalid>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)
Cancel-Lock: sha1:aqNGv3BnwWff0RzTZE3nqTPwO9I=
X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,
 FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,
 HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NML_ADSP_CUSTOM_MED,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Andy Moreton via Cygwin <cygwin@cygwin.com>
Reply-To: Andy Moreton <andrewjmoreton@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On Sun 14 Mar 2021, Achim Gratz wrote:

> Andy Moreton via Cygwin writes:
>> The build scripts for Mingw64 in the MSYS2 distro are here:
>>
>>   https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-gcc
>
> Ah, OK.  Thanks.
>
>> The PKGBUILD file is the build script (same tooling as Arch linux), and
>> the local patches there may help guide similar fixes for Cygwin.
>
> It seems these take quite a different path than what I had in mind.  But
> there seems to be confirmation in there that one would not need plugins
> or host-shared enabled for gccjit.  Getting rid of host-shared makes the
> build a lot closer to what it has been before I think and might then not
> need as extensive a surgery to get the rest of the build into line.

The MSYS2 libgccjit built from that spec works for 32bit and 64bit emacs
builds on the experimental emacs branch that uses the library. Hopefully
it will help with your porting efforts.

Thanks for working on this,

    AndyM


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
