Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GccCmd (0.07 sec)

  1. src/cmd/go/scriptcmds_test.go

    			Summary: "run the platform C compiler",
    			Args:    "args...",
    		},
    		func(s *script.State, args ...string) (script.WaitFunc, error) {
    			b := work.NewBuilder(s.Getwd())
    			wait, err := cmdExec.Run(s, append(b.GccCmd(".", ""), args...)...)
    			if err != nil {
    				return wait, err
    			}
    			waitAndClean := func(s *script.State) (stdout, stderr string, err error) {
    				stdout, stderr, err = wait(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 18:33:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testerrors/badsym_test.go

    			t.Fatal(err)
    		}
    		return ret
    	}
    
    	cDefFile := makeFile(cdir, "cdef.c", cDefSource)
    	cRefFile := makeFile(cdir, "cref.c", cRefSource)
    
    	ccCmd := cCompilerCmd(t)
    
    	cCompile := func(arg, base, src string) string {
    		out := filepath.Join(cdir, base)
    		run := append(ccCmd, arg, "-o", out, src)
    		output, err := exec.Command(run[0], run[1:]...).CombinedOutput()
    		if err != nil {
    			t.Log(run)
    			t.Logf("%s", output)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top