[Mesa-dev] How to build 32-bit Mesa
Marek Olšák
maraeo at gmail.com
Sat Oct 7 19:48:25 UTC 2017
Thank you very much. These two fixed my build:
export CC="gcc -m32"
export CXX="g++ -m32"
I used USER_CFLAGS to set -m32, which didn't work.
Marek
On Sat, Oct 7, 2017 at 8:09 PM, Laurent Carlier <lordheavym at gmail.com> wrote:
> 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
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
More information about the mesa-dev
mailing list