new script for git

git-svn-id: https://scanmem.googlecode.com/svn/trunk@278 0d3dcf9e-6d41-0410-9b3a-75061118c11e
update build script
silence gcc warning
working on freezing
merge