From 0267c6d7ee0fd56702dafbc55b16313c6dc5a4ac Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 15 Aug 2014 17:58:14 +0100 Subject: [PATCH] docs/autoconf: explicitly mention PKG_CONFIG_PATH for cross/multilib builds ... and squash a couple of typos. Suggested-by: Eero Tamminen Signed-off-by: Emil Velikov --- docs/autoconf.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/autoconf.html b/docs/autoconf.html index fcf4efa100c..2ef8c63dbee 100644 --- a/docs/autoconf.html +++ b/docs/autoconf.html @@ -143,12 +143,13 @@ assembly will not be used.

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:

-

--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu

+

--build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu

Note that these can vary from distribution to distribution. For more information check with the autoconf manual. +Note that you will need to correctly set PKG_CONFIG_PATH as well.

In some cases a single compiler is capable of handling both architectures @@ -158,9 +159,10 @@ further information - gcc machine dependent options

-

The following should be sufficient to configure multilib Mesa

+

In addition to specifying correct PKG_CONFIG_PATH for the target +architecture, the following should be sufficient to configure multilib Mesa

-./configure CC="gcc -m32" CXX="g++ -m32" --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu ... +./configure CC="gcc -m32" CXX="g++ -m32" --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu ... -- 2.30.2