I
have compiled Gem on the pi3 and it compiles fine and the examples run
ok. If there are some magic optimization flags that make it run even
better I world also like to know :)
There
is one important issue about the OpenGL driver tho. On the latest
raspbian Stretch the OpenGL driver runs at 1/4 the speed of the previous
raspbian Jessie so I recommend to use Jessie instead for now. You can
get it here:
http://downloads.raspberrypi.org/raspbian/images/
"For OpenGL 2.1, you need any version from September 2016 onwards. The last version is 2017-01-11-raspbian-jessie-lite.img"