add automake script to build gcc pass 1