From 6c0c95d6045d2d2b4e6a3a2f11457850031c57bc Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 22 Aug 2014 21:55:11 +0200 Subject: fontconfig libxcb/xcb-proto mesa xkeyboard-config git update 22 Aug 2014 libxcb/xcb-proto commit 8e3db42d67a0035bb16d16da28bd5eea7a269178 xkeyboard-config commit 10fce2c2baae471795d069f3a5f1307eedb9ff0a fontconfig commit 286cdc9c10b0453c25950103b6a1f7170d15bfdc mesa commit 97d03b9366bfa55b27feb92aa5afacd9c5f6f421 --- mesalib/docs/autoconf.html | 54 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 16 deletions(-) (limited to 'mesalib/docs/autoconf.html') diff --git a/mesalib/docs/autoconf.html b/mesalib/docs/autoconf.html index d4e8a35d8..2ef8c63db 100644 --- a/mesalib/docs/autoconf.html +++ b/mesalib/docs/autoconf.html @@ -97,20 +97,22 @@ shared libraries in a single pass.

CC, CFLAGS, CXX, CXXFLAGS

These environment variables control the C and C++ compilers used during the build. By default, -gcc and g++ are used with the options -"-g -O2".

+gcc and g++ are used and the debug/optimisation +level is left unchanged.

LDFLAGS

An environment variable specifying flags to -pass when linking programs. These are normally empty, but can be used -to direct the linker to use libraries in nonstandard directories. For -example, LDFLAGS="-L/usr/X11R6/lib".

+pass when linking programs. These should be empty and +PKG_CONFIG_PATH is recommended to be used instead. If needed +it can be used to direct the linker to use libraries in nonstandard +directories. For example, LDFLAGS="-L/usr/X11R6/lib".

PKG_CONFIG_PATH
-

When available, the -pkg-config utility is used to search for external libraries +

The +pkg-config utility is a hard requirement for cofiguring and +building mesa. It is used to search for external libraries on the system. This environment variable is used to control the search path for pkg-config. For instance, setting PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig will search for @@ -135,14 +137,32 @@ one of these architectures is detected. This option ensures that assembly will not be used.

-
--enable-32-bit
-
--enable-64-bit
-

By default, the build will compile code as directed by the environment -variables -CC, CFLAGS, etc. If the compiler is -gcc, these options offer a helper to add the compiler flags -to force 32- or 64-bit code generation as used on the x86 and x86_64 -architectures. Note that these options are mutually exclusive.

+
--build=
+
--host=
+

By default, the build will compile code for the architecture that +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=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 +(multilib) in that case one would need to set the CC,CXX variables +appending the correct machine options. Seek your compiler documentation for +further information - + gcc +machine dependent options

+ +

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=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu ...
@@ -194,7 +214,9 @@ kernel DRM modules are not available.
--enable-glx-tls

Enable Thread Local Storage (TLS) in GLX. -

--with-expat=DIR
The DRI-enabled libGL uses expat to +
--with-expat=DIR +

DEPRECATED, use PKG_CONFIG_PATH instead.

+

The DRI-enabled libGL uses expat to parse the DRI configuration files in /etc/drirc and ~/.drirc. This option allows a specific expat installation to be used. For example, --with-expat=/usr/local will -- cgit v1.2.3