Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for goGcflags (0.26 sec)

  1. src/cmd/go/internal/base/goflags.go

    	"cmd/internal/quoted"
    )
    
    var goflags []string // cached $GOFLAGS list; can be -x or --x form
    
    // GOFLAGS returns the flags from $GOFLAGS.
    // The list can be assumed to contain one string per flag,
    // with each string either beginning with -name or --name.
    func GOFLAGS() []string {
    	InitGOFLAGS()
    	return goflags
    }
    
    // InitGOFLAGS initializes the goflags list from $GOFLAGS.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. src/internal/cfg/cfg.go

    	CGO_LDFLAGS_ALLOW
    	CGO_LDFLAGS_DISALLOW
    	CXX
    	FC
    	GCCGO
    	GO111MODULE
    	GO386
    	GOAMD64
    	GOARCH
    	GOARM
    	GOARM64
    	GOBIN
    	GOCACHE
    	GOCACHEPROG
    	GOENV
    	GOEXE
    	GOEXPERIMENT
    	GOFLAGS
    	GOGCCFLAGS
    	GOHOSTARCH
    	GOHOSTOS
    	GOINSECURE
    	GOMIPS
    	GOMIPS64
    	GOMODCACHE
    	GONOPROXY
    	GONOSUMDB
    	GOOS
    	GOPATH
    	GOPPC64
    	GOPRIVATE
    	GOPROXY
    	GORISCV64
    	GOROOT
    	GOSUMDB
    	GOTMPDIR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 01:33:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/00-bug.yml

            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
            CGO_CPPFLAGS=""
            CGO_CXXFLAGS="-O2 -g"
            CGO_FFLAGS="-O2 -g"
            CGO_LDFLAGS="-O2 -g"
            PKG_CONFIG="pkg-config"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/cmp.bash

    echo
    echo
    echo "1a) clean build using $FLAGS1"
    (export GO_GCFLAGS="$FLAGS1"; sh make.bash)
    
    echo
    echo
    echo "1b) save go build output for all packages"
    for pkg in `go list std`; do
    	echo $pkg
    	DIR=$GOROOT/src/$pkg
    	go build -gcflags "$FLAGS1 -S" -o /dev/null $pkg &> $DIR/old.txt
    done
    
    echo
    echo
    echo "2a) clean build using $FLAGS2"
    (export GO_GCFLAGS="$FLAGS2"; sh make.bash)
    
    echo
    echo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:03:31 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testerrors/errors_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(dir)
    
    	dst := filepath.Join(dir, strings.TrimSuffix(file, ".go"))
    	cmd := exec.Command("go", "build", "-gcflags=-L -e", "-o="+dst, path(file)) // TODO(gri) no need for -gcflags=-L if go tool is adjusted
    	out, err := cmd.CombinedOutput()
    	if err == nil {
    		t.Errorf("expected cgo to fail but it succeeded")
    	}
    
    	lines := bytes.Split(out, []byte("\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/runtime/signal_windows_test.go

    		if err != nil {
    			t.Fatalf("%v: %v\n%s", cmd, err, cmd.Stderr)
    		}
    		out := string(bytes.TrimSpace(line))
    		t.Logf("%v: %q", cmd, out)
    		return out
    	}
    
    	cc := goEnv("CC")
    	cgoCflags := goEnv("CGO_CFLAGS")
    
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    	dllfile := filepath.Join(tmpdir, "test.dll")
    	exefile := filepath.Join(tmpdir, "gotest.exe")
    
    	// build go dll
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. src/make.rc

    # GOHOSTARCH=386 on an amd64 machine.
    #
    # GOARCH: The target architecture for installed packages and tools.
    #
    # GOOS: The target operating system for installed packages and tools.
    #
    # GO_GCFLAGS: Additional go tool compile arguments to use when
    # building the packages and commands.
    #
    # GO_LDFLAGS: Additional go tool link arguments to use when
    # building the commands.
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt

    env CGO_CFLAGS=-fplugin
    go build -x -n -o dummy.exe ./usesInternalCgo
    stderr preferlinkext
    env CGO_CFLAGS=-fprofile-instr-generate
    go build -x -n -o dummy.exe ./usesInternalCgo
    stderr preferlinkext
    
    # The -fdebug-prefix-map=path is permitted for internal linking.
    env CGO_CFLAGS=-fdebug-prefix-map=/some/sandbox/execroot/workspace=/tmp/new
    go build -x -n -o dummy.exe ./usesInternalCgo
    ! stderr preferlinkext
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 25 18:16:01 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/env_changed.txt

    env GOSUMDB=nodefault
    env GOPROXY=nodefault
    env GO111MODULE=auto
    env CGO_CFLAGS=nodefault
    env CGO_CPPFLAGS=nodefault
    
    go env -changed
    # linux output like GOTOOLCHAIN='local'
    # windows output like GOTOOLCHAIN=local
    stdout 'GOTOOLCHAIN=''?local''?'
    stdout 'GOSUMDB=''?nodefault''?'
    stdout 'GOPROXY=''?nodefault''?'
    stdout 'GO111MODULE=''?auto''?'
    stdout 'CGO_CFLAGS=''?nodefault''?'
    stdout 'CGO_CPPFLAGS=''?nodefault''?'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:49:03 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/make.bat

    :: CGO_ENABLED: Controls cgo usage...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top