Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 179 for lchflags (0.24 sec)

  1. src/syscall/syscall_netbsd.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
    - 7.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/ldflag.txt

    # Issue #42565
    
    [!cgo] skip
    
    # We can't build package bad, which uses #cgo LDFLAGS.
    cd bad
    ! go build
    stderr no-such-warning
    
    # We can build package ok with the same flags in CGO_LDFLAGS.
    env CGO_LDFLAGS=-Wno-such-warning -Wno-unknown-warning-option
    cd ../ok
    go build
    
    # Build a main program that actually uses LDFLAGS.
    cd ..
    go build -ldflags=-v
    
    # Because we passed -v the Go linker should print the external linker
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 14 14:11:56 UTC 2020
    - 762 bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/go/internal/load/flag_test.go

    type ppfTest struct {
    	args []string
    	pkgs []ppfTestPackage
    }
    
    var ppfTests = []ppfTest{
    	// -gcflags=-S applies only to packages on command line.
    	{
    		args: []string{"-S"},
    		pkgs: []ppfTestPackage{
    			{cmdline: true, flags: []string{"-S"}},
    			{cmdline: false, flags: []string{}},
    		},
    	},
    
    	// -gcflags=-S -gcflags= overrides the earlier -S.
    	{
    		args: []string{"-S", ""},
    		pkgs: []ppfTestPackage{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:04:04 UTC 2017
    - 3.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cgo_undef.txt

    # such that the .syso file only works when linked against the .a file.
    # Package a has #cgo LDFLAGS to make this happen.
    #
    # Package c imports package a, and uses cgo itself.
    # The generation of the _cgo_import.go for package c will fail,
    # because it won't know that it has to link against a/libb.a
    # (because we don't gather the #cgo LDFLAGS from all transitively
    # imported packages).
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 22 20:56:07 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cgo_bad_directives.txt

    # Reject #cgo CFLAGS: -D @foo
    cp y_cflags_dash_d_space_at_foo.txt y.go
    ! go build x
    stderr 'invalid flag in #cgo CFLAGS: -D @foo'
    
    # Reject #cgo CFLAGS -D@foo
    cp y_cflags_dash_d_at_foo.txt y.go
    ! go build x
    stderr 'invalid flag in #cgo CFLAGS: -D@foo'
    
    # Check for CFLAGS in commands
    env CGO_CFLAGS=-D@foo
    cp y_no_cflags.txt y.go
    go build -n x
    stderr '-D@foo'
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top