Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for GCCGO (0.11 sec)

  1. 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)
  2. src/cmd/go/internal/cfg/cfg.go

    		env = os.Getenv("GOROOT")
    	}
    	if env != "" {
    		return filepath.Clean(env)
    	}
    	def := ""
    	if r := runtime.GOROOT(); r != "" {
    		def = filepath.Clean(r)
    	}
    	if runtime.Compiler == "gccgo" {
    		// gccgo has no real GOROOT, and it certainly doesn't
    		// depend on the executable's location.
    		return def
    	}
    
    	// canonical returns a directory path that represents
    	// the same directory as dir,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/read.go

    	if err == nil {
    		return mi.Package(relPath(pkgdir, modroot)), nil
    	}
    	if !errors.Is(err, errNotFromModuleCache) {
    		return nil, err
    	}
    	if cfg.BuildContext.Compiler == "gccgo" && str.HasPathPrefix(modroot, cfg.GOROOTsrc) {
    		return nil, err // gccgo has no sources for GOROOT packages.
    	}
    	return openIndexPackage(modroot, pkgdir)
    }
    
    // GetModule returns the Module for the given modroot.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    		generated output.
    	-gccgo
    		Generate output for the gccgo compiler rather than the
    		gc compiler.
    	-gccgoprefix prefix
    		The -fgo-prefix option to be used with gccgo.
    	-gccgopkgpath path
    		The -fgo-pkgpath option to be used with gccgo.
    	-gccgo_define_cgoincomplete
    		Define cgo.Incomplete locally rather than importing it from
    		the "runtime/cgo" package. Used for old gccgo versions.
    	-godefs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/envcmd/env.go

    		case "GODEBUG":
    			env[i].Changed = env[i].Value != ""
    		}
    	}
    
    	if work.GccgoBin != "" {
    		env = append(env, cfg.EnvVar{Name: "GCCGO", Value: work.GccgoBin, Changed: true})
    	} else {
    		env = append(env, cfg.EnvVar{Name: "GCCGO", Value: work.GccgoName})
    	}
    
    	goarch, val, changed := cfg.GetArchEnv()
    	if goarch != "" {
    		env = append(env, cfg.EnvVar{Name: goarch, Value: val, Changed: changed})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/shell.go

    func (sh *Shell) runOut(dir string, env []string, cmdargs ...any) ([]byte, error) {
    	a := sh.action
    
    	cmdline := str.StringList(cmdargs...)
    
    	for _, arg := range cmdline {
    		// GNU binutils commands, including gcc and gccgo, interpret an argument
    		// @foo anywhere in the command line (even following --) as meaning
    		// "read and insert arguments from the file named foo."
    		// Don't say anything that might be misinterpreted that way.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/buildid.go

    	}
    
    	b.id.Lock()
    	b.toolIDCache[name] = id
    	b.id.Unlock()
    
    	return id
    }
    
    // gccToolID returns the unique ID to use for a tool that is invoked
    // by the GCC driver. This is used particularly for gccgo, but this can also
    // be used for gcc, g++, gfortran, etc.; those tools all use the GCC
    // driver under different names. The approach used here should also
    // work for sufficiently new versions of clang. Unlike toolID, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/test.go

    	}
    }
    
    // issue 8331 part 1
    
    func issue8331a() C.issue8331 {
    	return issue8331Var
    }
    
    // issue 10303
    
    func test10303(t *testing.T, n int) {
    	if runtime.Compiler == "gccgo" {
    		t.Skip("gccgo permits C pointers on the stack")
    	}
    
    	// Run at a few different stack depths just to avoid an unlucky pass
    	// due to variables ending up on different pages.
    	if n > 0 {
    		test10303(t, n-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  9. src/runtime/export_test.go

    					panic("last non-emptyRest entry is emptyOne")
    				}
    				k++
    			}
    		}
    	}
    }
    
    func RunGetgThreadSwitchTest() {
    	// Test that getg works correctly with thread switch.
    	// With gccgo, if we generate getg inlined, the backend
    	// may cache the address of the TLS variable, which
    	// will become invalid after a thread switch. This test
    	// checks that the bad caching doesn't happen.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    var laxGoVersionRE = lazyregexp.New(`^v?(([1-9][0-9]*)\.(0|[1-9][0-9]*))([^0-9].*)$`)
    
    // Toolchains must be named beginning with `go1`,
    // like "go1.20.3" or "go1.20.3-gccgo". As a special case, "default" is also permitted.
    // Note that this regexp is a much looser condition than go/version.IsValid,
    // for forward compatibility.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top