Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for GCCGO (0.06 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top