compile chg