emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64-bit build on Windows


From: Arash Esbati
Subject: Re: 64-bit build on Windows
Date: Thu, 26 Jan 2017 20:05:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91

Juanma Barranquero <address@hidden> writes:

> On Fri, Jan 20, 2017 at 3:32 PM, Óscar Fuentes <address@hidden> wrote:
>
>> I have no idea about PKG_CONFIG_PATH. The MSYS2 recipe does not mention
>> it and seems to work just fine.
>
> Our instructions in nt/INSTALL.W64 do not talk about pkg-config, but they
> show PKG_CONFIG_PATH used with configure:
>
>   PKG_CONFIG_PATH=/mingw64/lib/pkgconfig \
>   ./configure --prefix=/c/emacs/emacs-25 --without-imagemagick

I think it is safe to drop the line with pkg-config as Msys2 does the
right thing here.  In file /etc/profile, you find these lines
(unnecessary ones snipped):

source '/etc/msystem'
case "${MSYSTEM}" in
MINGW32)
  MINGW_MOUNT_POINT="${MINGW_PREFIX}"
  
PKG_CONFIG_PATH="${MINGW_MOUNT_POINT}/lib/pkgconfig:${MINGW_MOUNT_POINT}/share/pkgconfig"
  ;;
MINGW64)
  MINGW_MOUNT_POINT="${MINGW_PREFIX}"
  
PKG_CONFIG_PATH="${MINGW_MOUNT_POINT}/lib/pkgconfig:${MINGW_MOUNT_POINT}/share/pkgconfig"
  ;;
*)
  PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig:/lib/pkgconfig"
esac

${MINGW_PREFIX} is set in /etc/msystem to /mingw32 or /mingw64.

I would suggest to put a line there saying that Dbus should be disabled
on Windows.  There was a bug report for AUCTeX where a .tex file could
not be opened because Emacs was compiled without disabling Dbus.[1,2]

Best, Arash

Footnotes: 
[1]  http://lists.gnu.org/archive/html/bug-auctex/2016-09/msg00008.html

[2]  https://sourceforge.net/p/emacsbinw64/discussion/general/thread/87c80d2f/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]