<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Building 32 bit mesa on 64 bit OS fails since change for automake"
href="https://bugs.freedesktop.org/show_bug.cgi?id=50754#c34">Comment # 34</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Building 32 bit mesa on 64 bit OS fails since change for automake"
href="https://bugs.freedesktop.org/show_bug.cgi?id=50754">bug 50754</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=50754#c33">comment #33</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=50754#c29">comment #29</a>)
> > 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...
> </span >
I've assumed that will about PKG_CONFIG_PATH prior to host/build, but I guess
it makes sense to explicitly mention it. Thanks.
<span class="quote">> 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.</span >
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 :\</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>