Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for GCCGO (0.05 sec)

  1. src/cmd/go/internal/work/gccgo.go

    	"cmd/go/internal/fsys"
    	"cmd/go/internal/load"
    	"cmd/go/internal/str"
    	"cmd/internal/pkgpath"
    )
    
    // The Gccgo toolchain.
    
    type gccgoToolchain struct{}
    
    var GccgoName, GccgoBin string
    var gccgoErr error
    
    func init() {
    	GccgoName = cfg.Getenv("GCCGO")
    	if GccgoName == "" {
    		GccgoName = "gccgo"
    	}
    	GccgoBin, gccgoErr = cfg.LookPath(GccgoName)
    }
    
    func (gccgoToolchain) compiler() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/init.go

    		cfg.BuildContext.InstallSuffix += "_"
    	}
    	cfg.BuildContext.InstallSuffix += mode
    	cfg.BuildContext.ToolTags = append(cfg.BuildContext.ToolTags, mode)
    }
    
    func buildModeInit() {
    	gccgo := cfg.BuildToolchainName == "gccgo"
    	var codegenArg string
    
    	// Configure the build mode first, then verify that it is supported.
    	// That way, if the flag is completely bogus we will prefer to error out with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcarchive/carchive_test.go

    	if runtime.Compiler == "gccgo" {
    		ccArgs = append(ccArgs, "-lgo")
    	}
    	if out, err := exec.Command(ccArgs[0], ccArgs[1:]...).CombinedOutput(); err != nil {
    		t.Logf("%s", out)
    		t.Fatal(err)
    	}
    
    	binArgs := append(bin, "arg1", "arg2")
    	cmd = exec.Command(binArgs[0], binArgs[1:]...)
    	if runtime.Compiler == "gccgo" {
    		cmd.Env = append(os.Environ(), "GCCGO=1")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testshared/shared_test.go

    }
    
    // If gccgo is not available or not new enough, call t.Skip.
    func requireGccgo(t *testing.T) {
    	t.Helper()
    
    	if runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" {
    		t.Skip("gccgo test skipped on PPC64 until issue #60798 is resolved")
    	}
    
    	gccgoName := os.Getenv("GCCGO")
    	if gccgoName == "" {
    		gccgoName = "gccgo"
    	}
    	gccgoPath, err := exec.LookPath(gccgoName)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/action.go

    				// Fake packages - nothing to build.
    				a.Mode = "built-in package"
    				a.Actor = nil
    				return a
    			}
    
    			// gccgo standard library is "fake" too.
    			if cfg.BuildToolchainName == "gccgo" {
    				// the target name is needed for cgo.
    				a.Mode = "gccgo stdlib"
    				a.Target = p.Target
    				a.Actor = nil
    				return a
    			}
    		}
    
    		return a
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. src/cmd/go/script_test.go

    	"C_INCLUDE_PATH",     // allow override non-standard include paths
    	"CC",                 // don't lose user settings when invoking cgo
    	"GO_TESTING_GOTOOLS", // for gccgo testing
    	"GCCGO",              // for gccgo testing
    	"GCCGOTOOLDIR",       // for gccgo testing
    }
    
    // updateSum runs 'go mod tidy', 'go list -mod=mod -m all', or
    // 'go list -mod=mod all' in the test's current directory if a file named
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    			// path is a resolved package path, not an import path.
    			file, ok := cfg.PackageFile[path]
    			if !ok {
    				if cfg.Compiler == "gccgo" && cfg.Standard[path] {
    					return nil, nil // fall back to default gccgo lookup
    				}
    				return nil, fmt.Errorf("no package file for %q", path)
    			}
    			return os.Open(file)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. src/cmd/dist/buildtool.go

    	"internal/goversion",
    	// internal/lazyregexp is provided by Go 1.17, which permits it to
    	// be imported by other packages in this list, but is not provided
    	// by the Go 1.17 version of gccgo. It's on this list only to
    	// support gccgo, and can be removed if we require gccgo 14 or later.
    	"internal/lazyregexp",
    	"internal/pkgbits",
    	"internal/platform",
    	"internal/profile",
    	"internal/race",
    	"internal/saferio",
    	"internal/syscall/unix",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/build.go

    	}
    
    	// sanity check some often mis-used options
    	switch cfg.BuildContext.Compiler {
    	case "gccgo":
    		if load.BuildGcflags.Present() {
    			fmt.Println("go build: when using gccgo toolchain, please pass compiler flags using -gccgoflags, not -gcflags")
    		}
    		if load.BuildLdflags.Present() {
    			fmt.Println("go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags")
    		}
    	case "gc":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/help/helpdoc.go

    	GO111MODULE
    		Controls whether the go command runs in module-aware mode or GOPATH mode.
    		May be "off", "on", or "auto".
    		See https://golang.org/ref/mod#mod-commands.
    	GCCGO
    		The gccgo command to run for 'go build -compiler=gccgo'.
    	GOARCH
    		The architecture, or processor, for which to compile code.
    		Examples are amd64, 386, arm, ppc64.
    	GOBIN
    		The directory where 'go install' will install a command.
    	GOCACHE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top