Mesa (master): docs/autoconf: explicitly mention PKG_CONFIG_PATH for cross /multilib builds

Emil Velikov evelikov at kemper.freedesktop.org
Fri Aug 15 17:05:56 UTC 2014


Module: Mesa
Branch: master
Commit: 0267c6d7ee0fd56702dafbc55b16313c6dc5a4ac
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0267c6d7ee0fd56702dafbc55b16313c6dc5a4ac

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Fri Aug 15 17:58:14 2014 +0100

docs/autoconf: explicitly mention PKG_CONFIG_PATH for cross/multilib builds

... and squash a couple of typos.

Suggested-by: Eero Tamminen <eero.t.tamminen at intel.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

---

 docs/autoconf.html |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/docs/autoconf.html b/docs/autoconf.html
index fcf4efa..2ef8c63 100644
--- a/docs/autoconf.html
+++ b/docs/autoconf.html
@@ -143,12 +143,13 @@ assembly will not be used.</p>
 it's running on. In order to build cross-compile Mesa on a x86-64 machine
 that is to run on a i686, one would need to set the options to:</p>
 
-<p><code>--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu</code></p>
+<p><code>--build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu</code></p>
 
 Note that these can vary from distribution to distribution. For more
 information check with the
 <a href="https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Specifying-Target-Triplets.html">
 autoconf manual</a>.
+Note that you will need to correctly set <code>PKG_CONFIG_PATH</code> as well.
 
 
 <p>In some cases a single compiler is capable of handling both architectures
@@ -158,9 +159,10 @@ further information -
 <a href="https://gcc.gnu.org/onlinedocs/gcc/Submodel-Options.html"> gcc
 machine dependent options</a></p>
 
-<p>The following should be sufficient to configure multilib Mesa</p>
+<p>In addition to specifying correct <code>PKG_CONFIG_PATH</code> for the target
+architecture, the following should be sufficient to configure multilib Mesa</p>
 
-<code>./configure CC="gcc -m32" CXX="g++ -m32" --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu ...</code>
+<code>./configure CC="gcc -m32" CXX="g++ -m32" --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu ...</code>
 </dd>
 </dl>
 




More information about the mesa-commit mailing list