Skip to content
This repository
Newer
Older
100755 13 lines (12 sloc) 0.774 kb
98a9576c » azakai
2010-11-07 wip bullet/webgl demo
1 echo "gccing... (run me in bullet/demos/HelloWorld)"
2 ~/Dev/llvm-gcc-4.2-2.8.source/cbuild/install/bin/llvm-g++ -c HelloWorld.cpp -I../../src -emit-llvm -o HelloWorld.o
3 #echo "linking..."
4 #~/Dev/llvm-2.8/cbuild/Release/bin/llvm-link HelloWorld.o /dev/shm/tmp/libBullet.bc -o /dev/shm/tmp/bulletTest.bc
5 #echo "dissing..."
6 #~/Dev/llvm-2.8/cbuild/Release/bin/llvm-dis -show-annotations /dev/shm/tmp/bulletTest.bc
7 #echo "emscriptening..."
8 #python ~/Dev/emscripten/emscripten.py /dev/shm/tmp/bulletTest.ll > /dev/shm/tmp/bulletTest.js
9
10 echo "dissing..."
11 ~/Dev/llvm-2.8/cbuild/Release/bin/llvm-dis -show-annotations HelloWorld.o
12 echo "emscriptening..."
13 python ~/Dev/emscripten/emscripten.py HelloWorld.o.ll ~/Dev/tracemonkey/js/src/js '{ "USE_TYPED_ARRAYS": 1 }' &> HelloWorld.js
14
Something went wrong with that request. Please try again.