[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Master fails to build on Windows
From: |
Angelo Graziosi |
Subject: |
Re: Master fails to build on Windows |
Date: |
Fri, 1 Nov 2019 19:11:22 +0100 (CET) |
> Il 1 novembre 2019 alle 16.59 Eli Zaretskii ha scritto:
>
> So you don't invoke configure and make, but instead run a script
> called makepkg-mingw? And D_FORTIFY_SOURCE=2 is set by that script?
No no, my script (emacs-w64-build.sh) downloads the source, run autogen.sh and
eval "${emacs_build_env}" ./configure --prefix="/${PREFIXNAME}" \
--build=x86_64-w64-mingw32 \
--without-imagemagick \
--without-dbus \
--without-pop \
--with-modules
make ${MAKE_OPT}
where
emacs_build_env is, basically,
CPPFLAGS="-D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1" \
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
MAKE_OPT is, basically, '-j 6'. Now I removed '-D_FORTIFY_SOURCE=2'.
Then, the script creates the .7z package.
The script 'makepkg-mingw' belongs to MSYS2 installation. If you remember,
MSYS2 uses PKGBUILD scripts as in ArchLinux and 'makepkg-mingw' is used to
build MinGW packages (there is also a 'makepkg' script to build _native_ MSYS2
packages). See https://github.com/msys2/msys2/wiki/Creating-packages#building.
- Master fails to build on Windows, Angelo Graziosi, 2019/11/01
- Re: Master fails to build on Windows, Eli Zaretskii, 2019/11/01
- Re: Master fails to build on Windows, Angelo Graziosi, 2019/11/01
- Re: Master fails to build on Windows, Angelo Graziosi, 2019/11/01
- Re: Master fails to build on Windows, Angelo Graziosi, 2019/11/01
- Re: Master fails to build on Windows, Eli Zaretskii, 2019/11/01
- Re: Master fails to build on Windows, Angelo Graziosi, 2019/11/01
- Re: Master fails to build on Windows, Eli Zaretskii, 2019/11/01
- Re: Master fails to build on Windows,
Angelo Graziosi <=
- Re: Master fails to build on Windows, Eli Zaretskii, 2019/11/01