From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: edouard debry Newsgroups: gmane.emacs.bugs Subject: bug#45303: #45303 [feature/native-comp] building error on Windows Date: Sat, 26 Dec 2020 15:02:54 +0100 Message-ID: References: <6HNZxbkVfqHfTgtuHlg6wDQ-5-IO2RJ3Gfl2yB1EDgMj9jxk1OXCDkH3C39wGF6on6DXntrjHR2xJ0IxI0WaYCeuwqOXGz_rztdgkalA3Z8=@pm.me> <838s9pr2x5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000017dd205b75e801a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20217"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pcfeb0009@gmx.com, 45303@debbugs.gnu.org, gliao.tw@pm.me To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 26 17:16:34 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ktCF8-00056a-ED for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Dec 2020 17:16:34 +0100 Original-Received: from localhost ([::1]:44036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktCF7-0005RX-Ef for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Dec 2020 11:16:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktCEc-0005Qt-UK for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 11:16:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktCEc-0001TT-Lq for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 11:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ktCEc-0006ia-GP for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 11:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: edouard debry Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Dec 2020 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45303 X-GNU-PR-Package: emacs Original-Received: via spool by 45303-submit@debbugs.gnu.org id=B45303.160899935025799 (code B ref 45303); Sat, 26 Dec 2020 16:16:02 +0000 Original-Received: (at 45303) by debbugs.gnu.org; 26 Dec 2020 16:15:50 +0000 Original-Received: from localhost ([127.0.0.1]:59810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktCEQ-0006i1-4C for submit@debbugs.gnu.org; Sat, 26 Dec 2020 11:15:50 -0500 Original-Received: from mail-ed1-f52.google.com ([209.85.208.52]:36648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktAA3-0003Pf-VS for 45303@debbugs.gnu.org; Sat, 26 Dec 2020 09:03:13 -0500 Original-Received: by mail-ed1-f52.google.com with SMTP id b2so5949177edm.3 for <45303@debbugs.gnu.org>; Sat, 26 Dec 2020 06:03:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fnTib3dOyLkHsrT3W9h4Clgq/pKAYW13gg7/QSl7Cj8=; b=vEy6loRRunVzDQ0e0OMelFrW+Mdt3Qc1jOHED//dJLsT3vaKbq37wYxDeJoypSJfne hlxLL2wkAz+MlcH1o+s9Yovh7Ety51Tld/MMBnOERw30qZKxOIs84EuU3wp+UFmEetA4 /ec9zTrWMmNPFNtRITpxKZa87VDxY1D6jbAF3RX+GezaoZXrHPfYYYak1q8DY/cGgZ1w QCBgmNvq3CokItu6+4x1bdgFELiIEkGPZpaHHfIomwT50EUYFhuGGE1QHkXpCH59ETUU jSpCcVpOnDQz2Wa2b1rxHljXD62S3AqMWuhqtGTJoQUAENzxYoLAnCcmEvgbjAGjMAI/ bF6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fnTib3dOyLkHsrT3W9h4Clgq/pKAYW13gg7/QSl7Cj8=; b=o/fHb55KsiJHR3wFfJyUjq72k8WVCZoIkK18KVZNmXkT+coZywDwT7bnocvB29iWhg q+tgEUR4axMDL83yyDpjll/eWRzCDwojJuj/DlAM0HlsIYdx/gxP9AvJoDulotpMQq5s 7M0IFZOpDwMUS/hcuTyt6tKh+mQATHqeDEJewCug9NJy3lwsalyCVr7y5CNpHmENxAho GOScsByTLge/TauLcuTMSEShb0Nu4f8DTgUkgG2OMLoe9jwz3tpMik01OjYbb57/08jZ H3akHYntpTfRtVMkXFv0odc6A0RVAJImTSIv7PBcHT/Sfs2PJWyzU5I+BRTHLKx5GEVY uD1A== X-Gm-Message-State: AOAM533v2mZf/TX8bx3canL+AiTuLYup6s+tPfvcfansj6aDlwOY7i6n 2n0Na4zM9uT0XC0sin3hBEHMYnJQHFJPzzLU5ss= X-Google-Smtp-Source: ABdhPJxy0VjOuuVnxdq3vYeCISEIr/bicdiKTMZLkNsyi9lXzsIZAHicQA1FpRJOd62MFTnesBw5Di6RLBRAYocvGKw= X-Received: by 2002:a05:6402:1816:: with SMTP id g22mr35755590edy.80.1608991385942; Sat, 26 Dec 2020 06:03:05 -0800 (PST) In-Reply-To: X-Mailman-Approved-At: Sat, 26 Dec 2020 11:15:48 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196765 Archived-At: --000000000000017dd205b75e801a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I was able to compile and install. However, I cannot launch emacs outside of mingw64. I installed emacs-nativecomp outside of mingw64 in order not to mess with the mingw emacs package. I copied libgmp*dll in the installdir/bin and added the absolute path of "/mingw64/bin" to the emacs exec-path. Outside of mingw64, If I just click on bin/emacs.exe I get a console message : Warning: arch-dependent data dir '%emacs_dir%/libexec/emacs/28.0.50/x86_64-w64-mingw32/': No such file or directory and an emacs abort dialog. If I launch emacs on the command line from within a mingw64 shell, it runs well. But it is not desirable because window environment variables like %VAR% are not expanded correctly. I can launch the mingw64 emacs package from outside mingw without this problem. So, most probably, I must have missed something during the install. Do you also have this issue ? Regards Le mer. 23 d=C3=A9c. 2020 =C3=A0 08:03, Andrea Corallo via Bug reports for = GNU Emacs, the Swiss army knife of text editors a =C3=A9crit : > Eli Zaretskii writes: > > >> Date: Tue, 22 Dec 2020 20:21:54 +0000 > >> Cc: "pcfeb0009@gmx.com" , > >> "45303-done@debbugs.gnu.org" <45303@debbugs.gnu.org> > >> From: Andrea Corallo via "Bug reports for GNU Emacs, > >> the Swiss army knife of text editors" > >> > >> "gliao.tw@pm.me" writes: > >> > >> > Andrea, > >> > > >> > The native-comp branch compiles smoothly with generated executable > working flawlessly under my Msys2 environment on Windows 10. > >> > > >> > I don't have anything to report now, if no objection from other > people, I think we can close this bug. > >> > >> Sounds like music to my ears :) > > > > Thanks for a job well done, Andrea. > > Was good team work, thank you & all. > > > > --000000000000017dd205b75e801a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I was able to compile and install.

However, I cannot launch emacs outside of mingw64.

I installed emacs-nativecomp outside of mingw64 in order not to mes= s with the mingw emacs package.

I copied libgmp*dl= l in the installdir/bin and added the absolute path of "/mingw64/bin&q= uot; to the emacs exec-path.

Outside of mingw64, I= f I just click on bin/emacs.exe I get a console message :

Warning: arch-dependent data dir '%emacs_dir%/libexec/emacs/28.= 0.50/x86_64-w64-mingw32/': No such file or directory

and an emacs abort dialog.

If I launch emac= s on the command line from within a mingw64 shell, it runs well. But it is = not desirable because window
environment variables like %VAR% are= not expanded correctly.

I can launch the mingw64 = emacs package from outside mingw without this problem.

=
So, most probably, I must have missed something during the install.

Do you also have this issue ?

Regards


Le=C2=A0mer. 23 d=C3=A9c. 2020 =C3=A0=C2= =A008:03, Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knif= e of text editors <bug-gnu-emac= s@gnu.org> a =C3=A9crit=C2=A0:
Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Tue, 22 Dec 2020 20:21:54 +0000
>> Cc: "p= cfeb0009@gmx.com" <pcfeb0009@gmx.com>,
>>=C2=A0 "45303-done@debbugs.gnu.org" <45303@debbugs.gnu.org>
>> From: Andrea Corallo via "Bug reports for GNU Emacs,
>>=C2=A0 the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>=
>>
>> "gliao.tw= @pm.me" <gl= iao.tw@pm.me> writes:
>>
>> > Andrea,
>> >
>> > The native-comp branch compiles smoothly with generated execu= table working flawlessly under my Msys2 environment on Windows 10.
>> >
>> > I don't have anything to report now, if no objection from= other people, I think we can close this bug.
>>
>> Sounds like music to my ears :)
>
> Thanks for a job well done, Andrea.

Was good team work, thank you & all.



--000000000000017dd205b75e801a--