[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: about the meson build systel
From: |
Vincent Torri |
Subject: |
Re: about the meson build systel |
Date: |
Tue, 25 Aug 2020 07:01:37 +0200 |
On Tue, Aug 25, 2020 at 5:55 AM Werner LEMBERG <wl@gnu.org> wrote:
> BTW, how well does meson support cross compilation?
it does support cross-compilation a lot better than cmake
on Windows (though compilation fails because of mmap) :
$ ./configure.sh
The Meson build system
Version: 0.54.2
Source dir: E:/Documents/programmes_x64/msys2/home/vtorri/gitroot_64/freetype2
Build dir:
E:/Documents/programmes_x64/msys2/home/vtorri/gitroot_64/freetype2/builddir
Build type: cross build
Using 'PKG_CONFIG_PATH' from environment with value:
'E:\\Documents\\programmes_x64\\msys2\\opt\\efl_64\\lib\\pkgconfig;E:\\Documents\\programmes_x64\\msys2\\opt\\ewpi_64\\lib\\pkgconfig'
Project name: freetype2
Project version: undefined
C compiler for the build machine: cc (gcc 10.1.0 "cc (Rev2, Built by
MSYS2 project) 10.1.0")
C linker for the build machine: cc ld.bfd 2.34
Using 'CFLAGS' from environment with value: '-g3 -ggdb3 -Og -pipe'
Using 'LDFLAGS' from environment with value:
'-LE:/Documents/programmes_x64/msys2/opt/ewpi_64/lib'
C compiler for the host machine: x86_64-w64-mingw32-gcc (gcc 10.1.0
"x86_64-w64-mingw32-gcc (Rev2, Built by MSYS2 project) 10.1.0")
C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.34
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Program python3 found: YES
(e:/documents/programmes_x64/msys2/mingw64/bin/python.exe)
Has header "unistd.h" : YES
Has header "fcntl.h" : YES
Found pkg-config:
E:\Documents\programmes_x64\msys2\opt\ewpi_64\bin/pkg-config.EXE
(0.29.2)
Using 'PKG_CONFIG_PATH' from environment with value:
'E:\\Documents\\programmes_x64\\msys2\\opt\\efl_64\\lib\\pkgconfig;E:\\Documents\\programmes_x64\\msys2\\opt\\ewpi_64\\lib\\pkgconfig'
Run-time dependency zlib found: YES 1.2.11
Library bz2 found: YES
Using 'PKG_CONFIG_PATH' from environment with value:
'E:\\Documents\\programmes_x64\\msys2\\opt\\efl_64\\lib\\pkgconfig;E:\\Documents\\programmes_x64\\msys2\\opt\\ewpi_64\\lib\\pkgconfig'
Run-time dependency libpng found: YES 1.6.37
Using 'PKG_CONFIG_PATH' from environment with value:
'E:\\Documents\\programmes_x64\\msys2\\opt\\efl_64\\lib\\pkgconfig;E:\\Documents\\programmes_x64\\msys2\\opt\\ewpi_64\\lib\\pkgconfig'
Run-time dependency harfbuzz found: YES 2.6.8
Found CMake: E:\Documents\programmes_x64\msys2\mingw64\bin/cmake.EXE (3.17.2)
Run-time dependency libbrotlidec found: NO (tried pkgconfig and cmake)
Compiler for C supports function attribute visibility:hidden: YES
Build targets in project: 4
Option default_library is: shared [default: both]
Found ninja.EXE-1.10.0 at
E:\Documents\programmes_x64\msys2\mingw64\bin/ninja.EXE
[1/43] Generating ftoption.h with a custom command
[2/43] Generating ftmodule.h with a custom command
[3/43] Compiling C object freetype@sha/src_winfonts_winfnt.c.obj
[4/43] Compiling C object freetype@sha/src_type42_type42.c.obj
[5/43] Compiling C object freetype@sha/src_cid_type1cid.c.obj
[6/43] Compiling C object freetype@sha/src_pfr_pfr.c.obj
[7/43] Compiling C object freetype@sha/src_pcf_pcf.c.obj
[8/43] Compiling C object freetype@sha/src_type1_type1.c.obj
[9/43] Compiling C object freetype@sha/src_cff_cff.c.obj
[10/43] Compiling C object freetype@sha/src_bdf_bdf.c.obj
[11/43] Compiling C object freetype@sha/src_raster_raster.c.obj
[12/43] Compiling C object freetype@sha/src_smooth_smooth.c.obj
[13/43] Compiling C object freetype@sha/src_pshinter_pshinter.c.obj
[14/43] Compiling C object freetype@sha/src_lzw_ftlzw.c.obj
[15/43] Compiling C object freetype@sha/src_cache_ftcache.c.obj
[16/43] Compiling C object freetype@sha/src_base_ftbdf.c.obj
[17/43] Compiling C object freetype@sha/src_base_ftbbox.c.obj
[18/43] Compiling C object freetype@sha/src_base_ftbase.c.obj
[19/43] Compiling C object freetype@sha/src_psnames_psnames.c.obj
[20/43] Compiling C object freetype@sha/src_base_ftpatent.c.obj
[21/43] Compiling C object freetype@sha/src_base_ftpfr.c.obj
[22/43] Compiling C object freetype@sha/src_base_ftsynth.c.obj
[23/43] Compiling C object freetype@sha/src_base_ftwinfnt.c.obj
[24/43] Compiling C object freetype@sha/src_base_fttype1.c.obj
[25/43] Compiling C object freetype@sha/builds_windows_ftdebug.c.obj
[26/43] Compiling C object freetype@sha/builds_unix_ftsystem.c.obj
FAILED: freetype@sha/builds_unix_ftsystem.c.obj
x86_64-w64-mingw32-gcc @freetype@sha/builds_unix_ftsystem.c.obj.rsp
../builds/unix/ftsystem.c:33:10: fatal error: sys/mman.h: No such file
or directory
33 | #include <sys/mman.h>
| ^~~~~~~~~~~~
compilation terminated.
[27/43] Compiling C object freetype@sha/src_base_ftstroke.c.obj
[28/43] Compiling C object freetype@sha/src_autofit_autofit.c.obj
In file included from ../src/autofit/autofit.c:33:
../src/autofit/afshaper.c: In function 'af_shaper_get_coverage':
../src/autofit/afshaper.c:135:5: warning: 'hb_ot_tags_from_script' is
deprecated: Use 'hb_ot_tags_from_script_and_language' instead
[-Wdeprecated-declarations]
135 | hb_ot_tags_from_script( script,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from
E:/Documents/programmes_x64/msys2/opt/ewpi_64/include/harfbuzz/hb-ot.h:34,
from ../src/autofit/afshaper.h:29,
from ../src/autofit/afglobal.h:26,
from ../src/autofit/afcjk.c:28,
from ../src/autofit/autofit.c:23:
E:/Documents/programmes_x64/msys2/opt/ewpi_64/include/harfbuzz/hb-ot-deprecated.h:63:1:
note: declared here
63 | hb_ot_tags_from_script (hb_script_t script,
| ^~~~~~~~~~~~~~~~~~~~~~
[29/43] Compiling C object freetype@sha/src_gzip_ftgzip.c.obj
[30/43] Compiling C object freetype@sha/src_truetype_truetype.c.obj
[31/43] Compiling C object freetype@sha/src_sfnt_sfnt.c.obj
[32/43] Compiling C object freetype@sha/src_psaux_psaux.c.obj
[33/43] Compiling C object freetype@sha/src_bzip2_ftbzip2.c.obj
ninja: build stopped: subcommand failed.
>
>
> Werner
>
- Re: about the meson build systel, Vincent Torri, 2020/08/18
- Re: about the meson build systel, David Turner, 2020/08/24
- Re: about the meson build systel, Alexei Podtelezhnikov, 2020/08/24
- Re: about the meson build systel, David Turner, 2020/08/24
- Re: about the meson build systel, Werner LEMBERG, 2020/08/24
- Re: about the meson build systel, David Turner, 2020/08/24
- Re: about the meson build systel, David Turner, 2020/08/24
- Re: about the meson build systel, Werner LEMBERG, 2020/08/24
- Re: about the meson build systel,
Vincent Torri <=
- Re: about the meson build systel, Werner LEMBERG, 2020/08/25
- Re: about the meson build systel, Keith Packard, 2020/08/25