Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for gccCmd (0.06 sec)

  1. src/cmd/cgo/gcc.go

    	}
    	return nil
    }
    
    func gccTmp() string {
    	return *objDir + "_cgo_.o"
    }
    
    // gccCmd returns the gcc command line to use for compiling
    // the input.
    func (p *Package) gccCmd() []string {
    	c := append(gccBaseCmd,
    		"-w",          // no warnings
    		"-Wno-error",  // warnings are not errors
    		"-o"+gccTmp(), // write object to tmp
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    	"internal/testenv"
    	"io"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    )
    
    const verbose = false
    
    func goCmd() string {
    	var exeSuffix string
    	if runtime.GOOS == "windows" {
    		exeSuffix = ".exe"
    	}
    	path := filepath.Join(testenv.GOROOT(nil), "bin", "go"+exeSuffix)
    	if _, err := os.Stat(path); err == nil {
    		return path
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top