fix toolchain script

fix incompatibility with some unix systems

add c++ compiler detection

add configureable make variables

(0) -4 +4 +10 +30 +100 tip

mercurial