[Mesa-dev] How to build 32-bit Mesa
Laurent Carlier
lordheavym at gmail.com
Sat Oct 7 18:09:33 UTC 2017
Le samedi 7 octobre 2017, 19:53:48 CEST Marek Olšák a écrit :
> Hi,
>
> Recently I discovered that my configure hacks are not enough to build
> 32-bit Mesa successfully anymore.
>
> Would you please share how you build 32-bit Mesa on Linux. I think it
> would be useful to everybody.
>
> Thanks,
> Marek
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
For lib32-mesa-git with archlinux i build it that way:
" export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
# for our 32 bit llvm-config
export LLVM_CONFIG="/usr/bin/llvm-config32"
./autogen.sh \
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu \
--libdir=/usr/lib32 \
--prefix=/usr \
--sysconfdir=/etc \
--with-dri-driverdir=/usr/lib32/xorg/modules/dri \
....." & make
--
Laurent Carlier
http://www.archlinux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171007/dd9392b8/attachment.sig>
More information about the mesa-dev
mailing list