Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for GO_GCFLAGS (0.3 sec)

  1. 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)
  2. 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)
  3. src/internal/testenv/testenv_test.go

    				// missing a C linker.
    				t.Logf("HasGoBuild is false on %s", b)
    				return
    			}
    		}
    
    		if strings.Contains(b, "-noopt") {
    			// The -noopt builder sets GO_GCFLAGS, which causes tests of 'go build' to
    			// be skipped.
    			t.Logf("HasGoBuild is false on %s", b)
    			return
    		}
    
    		t.Fatalf("HasGoBuild unexpectedly false on %s", b)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 23:12:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/internal/archive/archive_test.go

    				}
    				if err != nil {
    					return err
    				}
    				cmd := testenv.Command(t, gotool, "build", "-buildmode=archive", "-o", cgoarchive, "-gcflags=all="+os.Getenv("GO_GCFLAGS"), "mycgo")
    				cmd.Dir = filepath.Join(gopath, "src", "mycgo")
    				cmd.Env = append(os.Environ(), "GOPATH="+gopath)
    				out, err = cmd.CombinedOutput()
    				if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 19:27:33 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/make.bash

    # 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
    - 7.6K bytes
    - Viewed (0)
Back to top