Below page describes the steps to build and run QEMUGL on Mac machines. The steps are verified on MacBook Pro (Mac OS X 10.6.7)
Install Xcode
Install SDL package
Download QEMUGL source code.
git clone git://gitorious.org/qemu-maemo/qemu.git
Checkout qemugl code. Right now the temporary branch is used.
git checkout -b qemugl-merge --track origin/qemugl-merge
cd qemu ./configure --enable-gl --enable-sdl --target-list=i386-softmmu
Download qemu image, for instance, from below link:
http://repo.meego.com/MeeGo/builds/1.1.99/latest/images/meego-tablet-ia32-qemu/
extract the bz2 file to get the raw image:
tar -xf xxx.tar.bz2
run the image with the newly built qemu binary
qemugl -hda xxx.raw -m 1024 -vga std -enable-gl