Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for gccCmd (0.22 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
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K 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
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top