Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through Paypal, Flattr and Liberapay!
how to build 32 bit mesa with ninja and meson?
chancho_zombie commented on 22 May 2019 at 4:32 pm UTC

hi everyone is there a simple way to build mesa 32 bit with ninja and meson?? on a x86_64 host.


whizse commented on 22 May 2019 at 6:34 pm UTC

I usually use a 32bit chroot.

tomlowshang commented on 22 May 2019 at 9:20 pm UTC

Use a 32bit chroot then symlink the result into the 64bit host.

chancho_zombie commented on 24 May 2019 at 2:02 am UTC

tomlowshangUse a 32bit chroot then symlink the result into the 64bit host.

ah ok thanks, can I copy the compiled mesa libs to the host directly?

hmm maybe I'll just create a ubuntu/debian chroot I suppose it's easier.

tomlowshang commented on 27 May 2019 at 1:13 pm UTC

You can copy the libraries if you prefer. I did that for years but recently realized it wasn't necessary in my situation.

sr_ls_boy commented on 28 May 2019 at 8:46 pm UTC

Studying the logs for a distribution would help.
Mesa logs for debian

The line below is essentially how you tell meson to build 32-bit.

Spoiler, click me

CC="gcc -m32" \
CXX="g++ -m32" \

Due to spam you need to Register and Login to comment.

Or login with...

Livestreams & Videos
Community Livestreams
See more!
Popular this week
View by Category
Latest Comments
Latest Forum Posts