[Mesa-dev] [Bug 50754] Building 32 bit mesa on 64 bit OS fails since change for automake

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 15 02:46:09 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=50754

--- Comment #34 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to comment #33)
> (In reply to comment #29)
> > and documented (docs/autoconf.html) a reasonable approach towards
> > multilib/cross-compile builds.
> 
> ----------
> <p>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>
> ----------
> 
> You should also definitely mention here pkg-config.  E.g. state it as:
> In addition to specifying correct PKG_CONFIG_PATH for the target
> architecture, following should be sufficient...
> 
I've assumed that will about PKG_CONFIG_PATH prior to host/build, but I guess
it makes sense to explicitly mention it. Thanks.

> Also, "--host" option is redundant, according to Autoconf manual it defaults
> to same as "--build" i.e. you need to specify it only if it differs from
> --build.
Last minute typo there. --build should read x86_64-pc-linux-gnu on both places.
Perhaps we could drop the multilib build/host if a brave soul checks mesa
(src/mesa/main, src/glsl) and confirms that we no longer need them. Otherwise
'make check' will end up failing :\

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140815/8f9981e5/attachment.html>


More information about the mesa-dev mailing list