Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 271 for GCCGO (0.03 sec)

  1. src/cmd/go/testdata/script/build_overlay.txt

    [cross] stop  # gccgo can't necessarily cross-compile
    
    ! go build -compiler=gccgo .
    go build -compiler=gccgo -overlay overlay.json -o main_gccgo$GOEXE .
    exec ./main_gccgo$goexe
    stdout '^hello$'
    
    go build -compiler=gccgo -overlay overlay.json -o print_abspath_gccgo$GOEXE ./printpath
    exec ./print_abspath_gccgo$GOEXE
    stdout $WORK[/\\]gopath[/\\]src[/\\]m[/\\]printpath[/\\]main.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/gccgo_m.txt

    # It's absurd, but builds with -compiler=gccgo used to fail to build module m.
    # golang.org/issue/34358
    
    env GO111MODULE=off
    
    [short] skip
    [cross] skip # gccgo can't necessarily cross-compile
    
    cd m
    go build
    exists m$GOEXE
    rm m$GOEXE
    [exec:gccgo] go build -compiler=gccgo
    [exec:gccgo] exists m$GOEXE
    
    -- m/go.mod --
    module m
    -- m/main.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 14:52:30 UTC 2022
    - 368 bytes
    - Viewed (0)
  3. src/internal/goroot/gc.go

    func (gd *gccgoDirs) init() {
    	gccgo := os.Getenv("GCCGO")
    	if gccgo == "" {
    		gccgo = "gccgo"
    	}
    	bin, err := exec.LookPath(gccgo)
    	if err != nil {
    		return
    	}
    
    	allDirs, err := exec.Command(bin, "-print-search-dirs").Output()
    	if err != nil {
    		return
    	}
    	versionB, err := exec.Command(bin, "-dumpversion").Output()
    	if err != nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 18:16:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_trimpath.txt

    cmp -q paths-a.exe paths-b.exe
    
    
    # Same sequence of tests but with gccgo.
    # gccgo does not support builds in module mode.
    [!exec:gccgo] stop
    [cross] stop  # gccgo can't necessarily cross-compile
    env GOPATH=$WORK/a
    
    # A binary built with gccgo without -trimpath should contain the current
    # GOPATH and GOROOT.
    go build -compiler=gccgo -o paths-dbg.exe paths
    exec ./paths-dbg.exe paths-dbg.exe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/internal/abi/funcpc_gccgo.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // For bootstrapping with gccgo.
    
    //go:build gccgo
    
    package abi
    
    import "unsafe"
    
    func FuncPCABI0(f interface{}) uintptr {
    	words := (*[2]unsafe.Pointer)(unsafe.Pointer(&f))
    	return *(*uintptr)(unsafe.Pointer(words[1]))
    }
    
    func FuncPCABIInternal(f interface{}) uintptr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 27 21:15:37 UTC 2023
    - 530 bytes
    - Viewed (0)
  6. src/cmd/go/internal/gover/toolchain_test.go

    var fromToolchainTests = []testCase1[string, string]{
    	{"go1.2.3", "1.2.3"},
    	{"1.2.3", ""},
    	{"go1.2.3+bigcorp", ""},
    	{"go1.2.3-bigcorp", "1.2.3"},
    	{"go1.2.3-bigcorp more text", "1.2.3"},
    	{"gccgo-go1.23rc4", ""},
    	{"gccgo-go1.23rc4-bigdwarf", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:18:46 UTC 2023
    - 550 bytes
    - Viewed (0)
  7. 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)
  8. test/fixedbugs/issue11656.go

    // doesn't go into the Go runtime.
    
    // wasm does not work, because the linear memory is not executable.
    
    // This test doesn't work on gccgo/GoLLVM, because they will not find
    // any unwind information for the artificial function, and will not be
    // able to unwind past that point.
    
    //go:build !windows && !wasm && !gccgo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 700 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_cache_compile.txt

    mkdir $GOCACHE
    
    # Building trivial non-main package should run compiler the first time.
    go build -x lib.go
    stderr '(compile|gccgo)( |\.exe).*lib\.go'
    
    # ... but not again ...
    go build -x lib.go
    ! stderr '(compile|gccgo)( |\.exe).*lib\.go'
    
    # ... unless we use -a.
    go build -a -x lib.go
    stderr '(compile|gccgo)( |\.exe)'
    
    -- lib.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 03:25:01 UTC 2019
    - 430 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/gccgo_link_ldflags.txt

    # It should not pass --nosuchoption to the external linker.
    
    [!cgo] skip
    
    go build
    
    [!exec:gccgo] skip
    
    # TODO: remove once gccgo on builder is updated
    [GOOS:aix] [GOARCH:ppc64] skip
    
    go build -compiler gccgo
    
    -- go.mod --
    module m
    -- cgo.go --
    package main
    // #cgo LDFLAGS: -L "./ -Wl,--nosuchoption"
    import "C"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 06:52:47 UTC 2023
    - 499 bytes
    - Viewed (0)
Back to top