Lines Matching refs:compile
23 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
49 - run("go", "tool", "compile", "bug0.go")
50 - run("go", "tool", "compile", "bug1.go")
51 - run("go", "tool", "compile", "bug2.go")
52 - run(errchk, "go", "tool", "compile", "-e", "bug3.go")
55 + run(goCmd(), "tool", "compile", "bug0.go")
56 + run(goCmd(), "tool", "compile", "bug1.go")
57 + run(goCmd(), "tool", "compile", "bug2.go")
58 + run(errchk, goCmd(), "tool", "compile", "-e", "bug3.go")
84 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
94 - run("go", "tool", "compile", filepath.Join("fixedbugs", "bug302.dir", "p.go"))
96 - run("go", "tool", "compile", "-I", ".", filepath.Join("fixedbugs", "bug302.dir", "main.go"))
98 + run(goCmd(), "tool", "compile", filepath.Join("fixedbugs", "bug302.dir", "p.go"))
100 + run(goCmd(), "tool", "compile", "-I", ".", filepath.Join("fixedbugs", "bug302.dir", "main.go"))
124 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
142 - run("go", "tool", "compile", "io.go")
143 - run(errchk, "go", "tool", "compile", "-e", "main.go")
144 + run(goCmd(), "tool", "compile", "io.go")
145 + run(errchk, goCmd(), "tool", "compile", "-e", "main.go")
169 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
191 - run("go", "tool", "compile", "-N", "-o", "slow.o", "pkg.go")
192 - run("go", "tool", "compile", "-o", "fast.o", "pkg.go")
193 - run("go", "tool", "compile", "-o", "main.o", "main.go")
196 + run(goCmd(), "tool", "compile", "-N", "-o", "slow.o", "pkg.go")
197 + run(goCmd(), "tool", "compile", "-o", "fast.o", "pkg.go")
198 + run(goCmd(), "tool", "compile", "-o", "main.o", "main.go")
225 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
270 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
321 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
339 - cmd := exec.Command("go", "tool", "compile", "x.go")
340 + cmd := exec.Command(goCmd(), "tool", "compile", "x.go")
364 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
382 - out := run("go", "tool", "compile", "-S", "a.go")
383 + out := run(goCmd(), "tool", "compile", "-S", "a.go")
405 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
450 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
469 - run("go tool compile -o linkmain.o helloworld.go")
470 - run("go tool compile -pack -o linkmain.a helloworld.go")
473 + run(goCmd() + " tool compile -o linkmain.o helloworld.go")
474 + run(goCmd() + " tool compile -pack -o linkmain.a helloworld.go")
479 - run("go tool compile -o linkmain1.o linkmain.go")
480 - run("go tool compile -pack -o linkmain1.a linkmain.go")
483 + run(goCmd() + " tool compile -o linkmain1.o linkmain.go")
484 + run(goCmd() + " tool compile -pack -o linkmain1.a linkmain.go")
509 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
584 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
617 - version, err := exec.Command("go", "tool", "compile", "-V").Output()
618 + version, err := exec.Command(goCmd(), "tool", "compile", "-V").Output()
621 fmt.Printf("running go tool compile -V: %v\n", err)
654 - case "compile", "compiledir", "build", "run", "runoutput", "rundir":
655 + case "compile", "compiledir", "build", "run", "runtarget", "runoutput", "rundir":
696 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g…
706 - cmd := exec.Command("go", "tool", "compile", "-S", "sinit.go")
708 + cmd := exec.Command(goCmd(), "tool", "compile", "-S", "sinit.go")