Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 311 for lchflags (0.24 sec)

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

    env GOARCH=mipsle
    env GOOS=linux
    go build -gcflags=-S f.go
    stderr ADDD.F[0-9]+,.F[0-9]+,.F[0-9]+
    
    # Clean cache
    go clean -cache
    
    # Building with GOMIPS=softfloat will not use floating point registers
    env GOMIPS=softfloat
    go build -gcflags=-S f.go
    ! stderr ADDD.F[0-9]+,.F[0-9]+,.F[0-9]+
    
    # Clean cache
    go clean -cache
    
    # Build without setting GOMIPS
    env GOMIPS=
    go build -gcflags=-S f.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 03:25:01 UTC 2019
    - 859 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_cd_gopath_different.txt

    [compiler:gccgo] skip 'gccgo does not support -ldflags -X'
    env GO111MODULE=off
    go build run_go.go
    
    # Apply identity function to GOPATH
    exec ./run_go$GOEXE $GOPATH/src/my.pkg/main $GOPATH IDENTITY build -o $WORK/tmp/a.exe -ldflags -X=my.pkg.Text=linkXworked
    exec $WORK/tmp/a.exe
    stderr 'linkXworked'
    rm $WORK/tmp/a.exe
    
    [!GOOS:windows] stop 'rest of the tests only apply to Windows'
    
    # Replace '\' with '/' in GOPATH
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_gcflags_order.txt

    # Tests golang.org/issue/47682
    # Flags specified with -gcflags should appear after other flags generated by cmd/go.
    
    cd m
    go build -n -gcflags=-lang=go1.17
    stderr ' -lang=go1.16.* -lang=go1.17'
    ! go build -gcflags='-c 0'
    stderr 'compile: -c must be at least 1, got 0'
    
    -- m/go.mod --
    module example.com
    
    go 1.16
    
    -- m/main.go --
    package main
    
    func main() {
        var s = []int{1, 2, 3}
        var pa = (*[2]int)(s[1:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 07 22:22:37 UTC 2023
    - 435 bytes
    - Viewed (0)
  4. src/syscall/syscall_dragonfly.go

    //sys	Chdir(path string) (err error)
    //sys	Chflags(path string, flags int) (err error)
    //sys	Chmod(path string, mode uint32) (err error)
    //sys	Chown(path string, uid int, gid int) (err error)
    //sys	Chroot(path string) (err error)
    //sys	Close(fd int) (err error)
    //sys	Dup(fd int) (nfd int, err error)
    //sys	Dup2(from int, to int) (err error)
    //sys	Fchdir(fd int) (err error)
    //sys	Fchflags(fd int, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/gccgo_link_ldflags.txt

    # Test that #cgo LDFLAGS are properly quoted.
    # The #cgo LDFLAGS below should pass a string with spaces to -L,
    # as though searching a directory with a space in its name.
    # 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 06:52:47 UTC 2023
    - 499 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/list_compiler_output.txt

    [short] skip
    
    go install -gcflags=-m .
    stderr 'can inline main'
    go list -gcflags=-m -f '{{.Stale}}' .
    stdout 'false'
    ! stderr 'can inline main'
    
    -- go.mod --
    module example.com/foo
    
    go 1.20
    -- main.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 21 19:37:23 UTC 2022
    - 233 bytes
    - Viewed (0)
  7. src/syscall/syscall_freebsd.go

    //sys	Chdir(path string) (err error)
    //sys	Chflags(path string, flags int) (err error)
    //sys	Chmod(path string, mode uint32) (err error)
    //sys	Chown(path string, uid int, gid int) (err error)
    //sys	Chroot(path string) (err error)
    //sys	Close(fd int) (err error)
    //sys	Dup(fd int) (nfd int, err error)
    //sys	Dup2(from int, to int) (err error)
    //sys	Fchdir(fd int) (err error)
    //sys	Fchflags(fd int, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  8. src/cmd/go/note_test.go

    	// This test is essentially checking that -ldflags=-buildid=XXX works,
    	// both in internal and external linking mode.
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    
    	tg.tempFile("hello.go", `package main; func main() { print("hello, world\n") }`)
    	const buildID = "TestNoteReading-Build-ID"
    	tg.run("build", "-ldflags", "-buildid="+buildID, "-o", tg.path("hello.exe"), tg.path("hello.go"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 17:26:46 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_link_x_import_path_escape.txt

    [compiler:gccgo] skip 'gccgo does not support -ldflags -X'
    
    go build -o linkx$GOEXE -ldflags -X=my.pkg.Text=linkXworked my.pkg/main
    exec ./linkx$GOEXE
    stderr '^linkXworked$'
    
    -- go.mod --
    module my.pkg
    
    go 1.16
    -- main/main.go --
    package main
    
    import "my.pkg"
    
    func main() {
    	println(pkg.Text)
    }
    -- pkg.go --
    package pkg
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 341 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    ) >_const.go
    
    # Pull out the error names for later.
    errors=$(
    	echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
    	awk '$1=="#define" && $2 ~ /^E[A-Z0-9_]+$/ { print $2 }' |
    	sort
    )
    
    # Pull out the signal names for later.
    signals=$(
    	echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
    	awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print $2 }' |
    	grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT' |
    	sort
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (2)
Back to top