blob: 013ed3256849a22de2695eeca16380eb82a000fa [file] [log] [blame]
Dylan Bakerbc17ac52017-10-17 12:19:49 -07001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html lang="en">
3<head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8">
Erik Faye-Lund6e0e5502019-05-06 13:13:11 +02005 <title>Compilation and Installation Using Meson</title>
Dylan Bakerbc17ac52017-10-17 12:19:49 -07006 <link rel="stylesheet" type="text/css" href="mesa.css">
7</head>
8<body>
9
10<div class="header">
Erik Faye-Lundecdab0d2019-05-06 13:26:47 +020011 The Mesa 3D Graphics Library
Dylan Bakerbc17ac52017-10-17 12:19:49 -070012</div>
13
14<iframe src="contents.html"></iframe>
15<div class="content">
16
Erik Faye-Lund6e0e5502019-05-06 13:13:11 +020017<h1>Compilation and Installation Using Meson</h1>
Dylan Bakerbc17ac52017-10-17 12:19:49 -070018
Eric Engestromb0319d02018-11-29 13:16:42 +000019<ul>
Brian Paul45c6da52019-03-07 20:39:49 -070020 <li><a href="#intro">Introduction</a></li>
Eric Engestromb0319d02018-11-29 13:16:42 +000021 <li><a href="#basic">Basic Usage</a></li>
Brian Paul45c6da52019-03-07 20:39:49 -070022 <li><a href="#advanced">Advanced Usage</a></li>
Eric Engestromb0319d02018-11-29 13:16:42 +000023 <li><a href="#cross-compilation">Cross-compilation and 32-bit builds</a></li>
24</ul>
25
Brian Paul45c6da52019-03-07 20:39:49 -070026<h2 id="intro">1. Introduction</h2>
Dylan Bakerbc17ac52017-10-17 12:19:49 -070027
Brian Paul45c6da52019-03-07 20:39:49 -070028<p>For general information about Meson see the
Dylan Bakerbc2d73c2019-09-30 11:02:31 -070029<a href="https://mesonbuild.com/">Meson website</a>.</p>
Dylan Bakerbc17ac52017-10-17 12:19:49 -070030
Brian Paul45c6da52019-03-07 20:39:49 -070031<p><strong>Mesa's Meson build system is generally considered stable and ready
32for production.</strong></p>
33
Dylan Baker44c5e632019-06-11 11:25:31 -070034<p><strong>Mesa requires Meson &gt;= 0.46.0 to build.</strong>
35
36<p>The Meson build of Mesa is tested on Linux, macOS, Windows, Cygwin, Haiku, FreeBSD,
Dylan Baker1da60662018-09-18 09:01:45 -070037DragonflyBSD, NetBSD, and should work on OpenBSD.</p>
Dylan Baker2aad12b2018-03-01 11:32:56 -080038
Dylan Baker44c5e632019-06-11 11:25:31 -070039<h4>Unix-like OSes</h4>
40
Brian Paul45c6da52019-03-07 20:39:49 -070041<p>If Meson is not already installed on your system, you can typically
42install it with your package installer. For example:</p>
43<pre>
44sudo apt-get install meson # Ubuntu
45</pre>
46or
47<pre>
48sudo dnf install meson # Fedora
49</pre>
50
Dylan Baker2aad12b2018-03-01 11:32:56 -080051Some older versions of meson do not check that they are too old and will error
52out in odd ways.
53</p>
Dylan Bakerbc17ac52017-10-17 12:19:49 -070054
Brian Paul45c6da52019-03-07 20:39:49 -070055<p>You'll also need <a href="https://ninja-build.org/">Ninja</a>.
56If it's not already installed, use apt-get or dnf to install
57the <em>ninja-build</em> package.
58</p>
59
Dylan Baker44c5e632019-06-11 11:25:31 -070060<h4>Windows</h4>
61
62<p>
63You will need to install python3 and meson as a module using pip. This is
64because we use python for generating code, and rely on external modules
65(mako). You also need pkg-config (a hard dependency of meson), flex, and bison.
66
67The easiest way to install everything you need is with <a
68href="https://chocolatey.org/">chocolatey</a>.
69</p>
70<pre>
71 choco install python3 winflexbison pkgconfiglite
72</pre>
73<p>You can even use chocolatey to install mingw and ninja (ninja can be used with MSVC as well)</p>
74<pre>
75 choco install ninja mingw
76</pre>
77<p>Then install meson using pip</p>
78<pre>
79 py -3 -m pip install meson mako
80</pre>
81
82You may need to add the python3 scripts directory to your path for meson.
83
Brian Paul45c6da52019-03-07 20:39:49 -070084<h2 id="basic">2. Basic Usage</h2>
85
Dylan Bakerbc17ac52017-10-17 12:19:49 -070086<p>
87The meson program is used to configure the source directory and generates
88either a ninja build file or Visual Studio® build files. The latter must
Brian Paul45c6da52019-03-07 20:39:49 -070089be enabled via the <code>--backend</code> switch, as ninja is the default
Dylan Baker4913ad92019-09-30 11:02:41 -070090backend on all operating systems.
Dylan Bakerbc17ac52017-10-17 12:19:49 -070091</p>
92
Brian Paul45c6da52019-03-07 20:39:49 -070093<p>
94Meson only supports out-of-tree builds, and must be passed a
95directory to put built and generated sources into. We'll call that directory
96"build" here.
97It's recommended to create a
Dylan Bakerbc2d73c2019-09-30 11:02:31 -070098<a href="https://mesonbuild.com/Using-multiple-build-directories.html">
Brian Paul45c6da52019-03-07 20:39:49 -070099separate build directory</a> for each configuration you might want to use.
100</p>
101
102
103
Brian Paul45c6da52019-03-07 20:39:49 -0700104<p>Basic configuration is done with:</p>
105
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700106<pre>
Brian Paul45c6da52019-03-07 20:39:49 -0700107meson build/
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700108</pre>
109
110<p>
Brian Paul45c6da52019-03-07 20:39:49 -0700111This will create the build directory.
112If any dependencies are missing, you can install them, or try to remove
113the dependency with a Meson configuration option (see below).
Eric Engestromc4c5c902019-01-17 16:26:26 +0000114</p>
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700115
Eric Engestromc4c5c902019-01-17 16:26:26 +0000116<p>
Brian Paul45c6da52019-03-07 20:39:49 -0700117To review the options which Meson chose, run:
118</p>
119<pre>
120meson configure build/
121</pre>
122
123<p>
124Meson does not currently support listing configuration options before
125running "meson build/" but this feature is being discussed upstream.
Eric Engestrom00be88a2019-01-17 18:04:42 +0000126For now, we have a <code>bin/meson-options.py</code> script that prints
127the options for you.
128If that script doesn't work for some reason, you can always look in the
Brian Paule547a1c2019-03-11 19:58:04 -0600129<a href="https://gitlab.freedesktop.org/mesa/mesa/blob/master/meson_options.txt">
130meson_options.txt</a> file at the root of the project.
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700131</p>
132
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700133<p>
Brian Paul45c6da52019-03-07 20:39:49 -0700134With additional arguments <code>meson configure</code> can be used to change
135options for a previously configured build directory.
136All options passed to this command are in the form
137<code>-D "option"="value"</code>.
138For example:
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700139</p>
140
141<pre>
Brian Paul45c6da52019-03-07 20:39:49 -0700142meson configure build/ -Dprefix=/tmp/install -Dglx=true
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700143</pre>
144
145<p>
Eric Engestrom57fbc2a2018-05-14 16:39:42 +0100146Note that options taking lists (such as <code>platforms</code>) are
Dylan Bakerbc2d73c2019-09-30 11:02:31 -0700147<a href="https://mesonbuild.com/Build-options.html#using-build-options">a bit
Eric Engestrom57fbc2a2018-05-14 16:39:42 +0100148more complicated</a>, but the simplest form compatible with Mesa options
149is to use a comma to separate values (<code>-D platforms=drm,wayland</code>)
150and brackets to represent an empty list (<code>-D platforms=[]</code>).
151</p>
152
153<p>
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700154Once you've run the initial <code>meson</code> command successfully you can use
Brian Paul45c6da52019-03-07 20:39:49 -0700155your configured backend to build the project in your build directory:
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700156</p>
157
158<pre>
Brian Paul45c6da52019-03-07 20:39:49 -0700159ninja -C build/
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700160</pre>
161
162<p>
Brian Paul45c6da52019-03-07 20:39:49 -0700163The next step is to install the Mesa libraries, drivers, etc.
164This also finishes up some final steps of the build process (such as creating
165symbolic links for drivers). To install:
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700166</p>
167
Brian Paul45c6da52019-03-07 20:39:49 -0700168<pre>
169ninja -C build/ install
170</pre>
171
Dylan Bakera8004ef2018-10-22 19:33:08 -0700172<p>
Eric Engestrom88ed5f62019-04-24 13:19:51 +0100173Note: autotools automatically updated translation files (used by the DRI
Brian Paul45c6da52019-03-07 20:39:49 -0700174configuration tool) as part of the build process,
175Meson does not do this. Instead, you will need do this:
Dylan Bakera8004ef2018-10-22 19:33:08 -0700176</p>
Brian Paul45c6da52019-03-07 20:39:49 -0700177<pre>
178ninja -C build/ xmlpool-pot xmlpool-update-po xmlpool-gmo
179</pre>
180
Dylan Baker44c5e632019-06-11 11:25:31 -0700181<h4>Windows specific instructions</h4>
182
183<p>
184On windows you have a couple of choices for compilers. If you installed mingw
185with chocolatey and want to use ninja you should be able to open any shell
186and follow the instructions above. If you want to you MSVC, clang-cl, or ICL
187(the Intel Compiler), read on.
188</p>
189<p>
190Both ICL and MSVC come with shell environments, the easiest way to use meson
191with these it to open a shell. For clang-cl you will need to open an MSVC
192shell, and then override the compilers, either using a <a
193href="https://mesonbuild.com/Native-environments.html">native file</a>, or
194with the CC and CXX environment variables.
195</p>
196<p>
197All of these compilers are tested and work with ninja, but if you want visual
198studio integration or you just like msbuild, passing
199<code>--backend=vs</code> to meson will generate a visual studio solution. If
200you want to use ICL or clang-cl with the vsbackend you will need meson 0.52.0
201or greater. Older versions always use the microsoft compiler.
202</p>
203
Brian Paul45c6da52019-03-07 20:39:49 -0700204<h2 id="advanced">3. Advanced Usage</h2>
Dylan Bakera8004ef2018-10-22 19:33:08 -0700205
Eric Engestrom67c55072018-05-14 16:45:31 +0100206<dl>
Brian Paul45c6da52019-03-07 20:39:49 -0700207
208<dt>Installation Location</dt>
209<dd>
210<p>
211Meson default to installing libGL.so in your system's main lib/ directory
212and DRI drivers to a dri/ subdirectory.
213</p>
214<p>
215Developers will often want to install Mesa to a testing directory rather
216than the system library directory.
217This can be done with the --prefix option. For example:
218</p>
Brian Paul16fb82d2019-03-08 10:31:11 -0700219<pre>
Brian Paul45c6da52019-03-07 20:39:49 -0700220meson --prefix="${PWD}/build/install" build/
Brian Paul16fb82d2019-03-08 10:31:11 -0700221</pre>
Brian Paul45c6da52019-03-07 20:39:49 -0700222<p>
223will put the final libraries and drivers into the build/install/
224directory.
225Then you can set LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH to that location
226to run/test the driver.
227</p>
Brian Paul16fb82d2019-03-08 10:31:11 -0700228<p>
229Meson also honors <code>DESTDIR</code> for installs.
230</p>
Brian Paul45c6da52019-03-07 20:39:49 -0700231</dd>
232
Brian Paul16fb82d2019-03-08 10:31:11 -0700233<dt>Compiler Options</dt>
234<dd>
235<p>Meson supports the common CFLAGS, CXXFLAGS, etc. environment
236variables but their use is discouraged because of the many caveats
237in using them.
238</p>
239<p>Instead, it is recomended to use <code>-D${lang}_args</code> and
240<code>-D${lang}_link_args</code>. Among the benefits of these options
Dylan Baker0ff7eed2018-12-19 13:27:27 -0800241is that they are guaranteed to persist across rebuilds and reconfigurations.
Brian Paul16fb82d2019-03-08 10:31:11 -0700242</p>
Erik Faye-Lund8ef86c92019-04-18 16:13:44 +0200243<p>
Brian Paul16fb82d2019-03-08 10:31:11 -0700244This example sets -fmax-errors for compiling C sources and -DMAGIC=123
245for C++ sources:
246</p>
Brian Paul16fb82d2019-03-08 10:31:11 -0700247<pre>
248meson builddir/ -Dc_args=-fmax-errors=10 -Dcpp_args=-DMAGIC=123
249</pre>
Brian Paul16fb82d2019-03-08 10:31:11 -0700250</dd>
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700251
Brian Paul16fb82d2019-03-08 10:31:11 -0700252
253<dt>Compiler Specification</dt>
254<dd>
255<p>
256Meson supports the standard CC and CXX environment variables for
257changing the default compiler. Note that Meson does not allow
258changing the compilers in a configured builddir so you will need
Dylan Baker0ff7eed2018-12-19 13:27:27 -0800259to create a new build dir for a different compiler.
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700260</p>
Brian Paul16fb82d2019-03-08 10:31:11 -0700261<p>
262This is an example of specifying the clang compilers and cleaning
263the build directory before reconfiguring with an extra C option:
264</p>
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700265<pre>
Brian Paul16fb82d2019-03-08 10:31:11 -0700266CC=clang CXX=clang++ meson build-clang
267ninja -C build-clang
268ninja -C build-clang clean
269meson configure build -Dc_args="-Wno-typedef-redefinition"
270ninja -C build-clang
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700271</pre>
Dylan Bakere0829f92018-09-18 09:07:25 -0700272<p>
273The default compilers depends on your operating system. Meson supports most of
274the popular compilers, a complete list is available
Dylan Bakerbc2d73c2019-09-30 11:02:31 -0700275<a href="https://mesonbuild.com/Reference-tables.html#compiler-ids">here</a>.
Dylan Bakere0829f92018-09-18 09:07:25 -0700276</p>
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700277</dd>
278
Brian Paul45c6da52019-03-07 20:39:49 -0700279<dt>LLVM</dt>
Dylan Bakerbe56f8a2018-09-18 09:09:47 -0700280<dd><p>Meson includes upstream logic to wrap llvm-config using its standard
Dylan Bakera57dbe62018-12-20 11:46:08 -0800281dependency interface.
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700282</p></dd>
Dylan Bakera57dbe62018-12-20 11:46:08 -0800283
284<dd><p>
285As of meson 0.49.0 meson also has the concept of a
286<a href="https://mesonbuild.com/Native-environments.html">"native file"</a>,
287these files provide information about the native build environment (as opposed
288to a cross build environment). They are ini formatted and can override where to
289find llvm-config:
Erik Faye-Lund0ea4ef22019-04-18 16:16:06 +0200290</p>
Dylan Bakera57dbe62018-12-20 11:46:08 -0800291
292custom-llvm.ini
293<pre>
294 [binaries]
295 llvm-config = '/usr/local/bin/llvm/llvm-config'
296</pre>
297
298Then configure meson:
299
300<pre>
301 meson builddir/ --native-file custom-llvm.ini
302</pre>
Erik Faye-Lund0ea4ef22019-04-18 16:16:06 +0200303</dd>
Dylan Bakera57dbe62018-12-20 11:46:08 -0800304
305<dd><p>
Eric Engestroma563bb92019-07-31 11:49:03 +0100306Meson &lt; 0.49 doesn't support native files, so to specify a custom
307<code>llvm-config</code> you need to modify your <code>$PATH</code> (or
308<code>%PATH%</code> on windows), which will be searched for
309<code>llvm-config</code>, <code>llvm-config<i>$version</i></code>,
310and <code>llvm-config-<i>$version</i></code>:
311</p>
312<pre>
313PATH=/path/to/folder/with/llvm-config:$PATH meson build
314</pre>
315</dd>
316
317<dd><p>
Dylan Bakera57dbe62018-12-20 11:46:08 -0800318For selecting llvm-config for cross compiling a
319<a href="https://mesonbuild.com/Cross-compilation.html#defining-the-environment">"cross file"</a>
320should be used. It uses the same format as the native file above:
Erik Faye-Lund767c5172019-04-18 16:27:26 +0200321</p>
Dylan Bakera57dbe62018-12-20 11:46:08 -0800322
Erik Faye-Lund767c5172019-04-18 16:27:26 +0200323<p>cross-llvm.ini</p>
Dylan Bakera57dbe62018-12-20 11:46:08 -0800324<pre>
325 [binaries]
326 ...
327 llvm-config = '/usr/lib/llvm-config-32'
328</pre>
329
Erik Faye-Lund767c5172019-04-18 16:27:26 +0200330<p>Then configure meson:</p>
Dylan Bakera57dbe62018-12-20 11:46:08 -0800331<pre>
332 meson builddir/ --cross-file cross-llvm.ini
333</pre>
334
335See the <a href="#cross-compilation">Cross Compilation</a> section for more information.
Erik Faye-Lund767c5172019-04-18 16:27:26 +0200336</dd>
Dylan Bakera57dbe62018-12-20 11:46:08 -0800337
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700338<dt><code>PKG_CONFIG_PATH</code></dt>
339<dd><p>The
340<code>pkg-config</code> utility is a hard requirement for configuring and
Dylan Baker2aad12b2018-03-01 11:32:56 -0800341building Mesa on Unix-like systems. It is used to search for external libraries
342on the system. This environment variable is used to control the search path for
343<code>pkg-config</code>. For instance, setting
344<code>PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig</code> will search for package
345metadata in <code>/usr/X11R6</code> before the standard directories.</p>
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700346</dd>
347</dl>
348
349<p>
350One of the oddities of meson is that some options are different when passed to
351the <code>meson</code> than to <code>meson configure</code>. These options are
352passed as --option=foo to <code>meson</code>, but -Doption=foo to <code>meson
353configure</code>. Mesa defined options are always passed as -Doption=foo.
Eric Engestrom67c55072018-05-14 16:45:31 +0100354</p>
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700355
356<p>For those coming from autotools be aware of the following:</p>
357
358<dl>
359<dt><code>--buildtype/-Dbuildtype</code></dt>
360<dd><p>This option will set the compiler debug/optimisation levels to aid
361debugging the Mesa libraries.</p>
362
Eric Engestrom37d44e22018-05-14 16:47:57 +0100363<p>Note that in meson this defaults to <code>debugoptimized</code>, and
364not setting it to <code>release</code> will yield non-optimal
365performance and binary size. Not using <code>debug</code> may interfere
366with debugging as some code and validation will be optimized away.
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700367</p>
368
Eric Engestrom37d44e22018-05-14 16:47:57 +0100369<p> For those wishing to pass their own optimization flags, use the <code>plain</code>
Dylan Baker2aad12b2018-03-01 11:32:56 -0800370buildtype, which causes meson to inject no additional compiler arguments, only
371those in the C/CXXFLAGS and those that mesa itself defines.</p>
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700372</dd>
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700373
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700374<dt><code>-Db_ndebug</code></dt>
Eric Engestrom37d44e22018-05-14 16:47:57 +0100375<dd><p>This option controls assertions in meson projects. When set to <code>false</code>
Dylan Bakerbc17ac52017-10-17 12:19:49 -0700376(the default) assertions are enabled, when set to true they are disabled. This
377is unrelated to the <code>buildtype</code>; setting the latter to
378<code>release</code> will not turn off assertions.
379</p>
380</dd>
381</dl>
Eric Engestrom67c55072018-05-14 16:45:31 +0100382
Brian Paul45c6da52019-03-07 20:39:49 -0700383<h2 id="cross-compilation">4. Cross-compilation and 32-bit builds</h2>
Eric Engestromb0319d02018-11-29 13:16:42 +0000384
385<p><a href="https://mesonbuild.com/Cross-compilation.html">Meson supports
386cross-compilation</a> by specifying a number of binary paths and
387settings in a file and passing this file to <code>meson</code> or
388<code>meson configure</code> with the <code>--cross-file</code>
389parameter.</p>
390
391<p>This file can live at any location, but you can use the bare filename
392(without the folder path) if you put it in $XDG_DATA_HOME/meson/cross or
393~/.local/share/meson/cross</p>
394
395<p>Below are a few example of cross files, but keep in mind that you
396will likely have to alter them for your system.</p>
397
398<p>
Eric Engestrom393a7562019-01-03 16:01:18 +0000399Those running on ArchLinux can use the AUR-maintained packages for some
400of those, as they'll have the right values for your system:
Erik Faye-Lund92917e82019-04-18 15:38:01 +0200401</p>
Eric Engestrom393a7562019-01-03 16:01:18 +0000402<ul>
403 <li><a href="https://aur.archlinux.org/packages/meson-cross-x86-linux-gnu">meson-cross-x86-linux-gnu</a></li>
404 <li><a href="https://aur.archlinux.org/packages/meson-cross-aarch64-linux-gnu">meson-cross-aarch64-linux-gnu</a></li>
405</ul>
Eric Engestrom393a7562019-01-03 16:01:18 +0000406
407<p>
Eric Engestromb0319d02018-11-29 13:16:42 +000040832-bit build on x86 linux:
Erik Faye-Lund41573d42019-04-18 16:12:08 +0200409</p>
Eric Engestromb0319d02018-11-29 13:16:42 +0000410<pre>
411[binaries]
412c = '/usr/bin/gcc'
413cpp = '/usr/bin/g++'
414ar = '/usr/bin/gcc-ar'
415strip = '/usr/bin/strip'
416pkgconfig = '/usr/bin/pkg-config-32'
417llvm-config = '/usr/bin/llvm-config32'
418
419[properties]
420c_args = ['-m32']
421c_link_args = ['-m32']
422cpp_args = ['-m32']
423cpp_link_args = ['-m32']
424
425[host_machine]
426system = 'linux'
427cpu_family = 'x86'
428cpu = 'i686'
429endian = 'little'
430</pre>
Eric Engestromb0319d02018-11-29 13:16:42 +0000431
432<p>
43364-bit build on ARM linux:
Erik Faye-Lund41573d42019-04-18 16:12:08 +0200434</p>
Eric Engestromb0319d02018-11-29 13:16:42 +0000435<pre>
436[binaries]
437c = '/usr/bin/aarch64-linux-gnu-gcc'
438cpp = '/usr/bin/aarch64-linux-gnu-g++'
Eric Engestrom8b363bc2019-01-03 15:44:42 +0000439ar = '/usr/bin/aarch64-linux-gnu-gcc-ar'
Eric Engestromb0319d02018-11-29 13:16:42 +0000440strip = '/usr/bin/aarch64-linux-gnu-strip'
441pkgconfig = '/usr/bin/aarch64-linux-gnu-pkg-config'
442exe_wrapper = '/usr/bin/qemu-aarch64-static'
443
444[host_machine]
445system = 'linux'
Eric Engestrom8b363bc2019-01-03 15:44:42 +0000446cpu_family = 'aarch64'
Eric Engestromb0319d02018-11-29 13:16:42 +0000447cpu = 'aarch64'
448endian = 'little'
449</pre>
Eric Engestromb0319d02018-11-29 13:16:42 +0000450
451<p>
45264-bit build on x86 windows:
Erik Faye-Lund41573d42019-04-18 16:12:08 +0200453</p>
Eric Engestromb0319d02018-11-29 13:16:42 +0000454<pre>
455[binaries]
456c = '/usr/bin/x86_64-w64-mingw32-gcc'
457cpp = '/usr/bin/x86_64-w64-mingw32-g++'
458ar = '/usr/bin/x86_64-w64-mingw32-ar'
459strip = '/usr/bin/x86_64-w64-mingw32-strip'
460pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config'
461exe_wrapper = 'wine'
462
463[host_machine]
464system = 'windows'
465cpu_family = 'x86_64'
466cpu = 'i686'
467endian = 'little'
468</pre>
Eric Engestromb0319d02018-11-29 13:16:42 +0000469
Eric Engestrom67c55072018-05-14 16:45:31 +0100470</div>
471</body>
472</html>