- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 311 for lchflags (0.12 sec)
-
src/cmd/go/internal/work/exec.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/gcflags_patterns.txt
! go build '-ldflags="-X main.X=Hello"' stderr 'invalid value' # -ldflags for implicit test package applies to test binary go test -a -c -n -gcflags=-N -ldflags=-X=x.y=z z1 stderr 'compile.* -N .*z_test.go' stderr 'link.* -X=x.y=z' # -ldflags for explicit test package applies to test binary go test -a -c -n -gcflags=z1=-N -ldflags=z1=-X=x.y=z z1 stderr 'compile.* -N .*z_test.go' stderr 'link.* -X=x.y=z'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 21 14:58:44 UTC 2023 - 2.5K bytes - Viewed (0) -
common/scripts/gobuild.sh
GOPKG="$GOPATH/pkg" BUILDINFO=${BUILDINFO:-""} STATIC=${STATIC:-1} LDFLAGS=${LDFLAGS:--extldflags -static} GOBUILDFLAGS=${GOBUILDFLAGS:-""} # Split GOBUILDFLAGS by spaces into an array called GOBUILDFLAGS_ARRAY. IFS=' ' read -r -a GOBUILDFLAGS_ARRAY <<< "$GOBUILDFLAGS" GCFLAGS=${GCFLAGS:-} export CGO_ENABLED=${CGO_ENABLED:-0} if [[ "${STATIC}" != "1" ]];then LDFLAGS="" fi # gather buildinfo if not already provided
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Oct 21 14:08:46 UTC 2022 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cache_output.txt
go build -x -gcflags=-m -ldflags='-v -w' main.go ! stderr 'compile( |\.exe"?)' stderr 'main.go:2.* can inline main' # from compiler ! stderr 'link(\.exe"?)? -' stderr '\d+ symbols' # from linker # Running a test should run the compiler, linker, and the test the first time. go test -v -x -gcflags=-m -ldflags=-v p stderr 'compile( |\.exe"?)'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/version_build_settings.txt
[GOARCH:amd64] stdout '^\tbuild\tGOAMD64=' ! stdout asmflags|gcflags|ldflags|gccgoflags # Toolchain flags are added if present. # The raw flags are included, with package patterns if specified. go build -asmflags=example.com/m=-D=FOO=bar go version -m m$GOEXE stdout '^\tbuild\t-asmflags=example\.com/m=-D=FOO=bar$' go build -gcflags=example.com/m=-N go version -m m$GOEXE stdout '^\tbuild\t-gcflags=example\.com/m=-N$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cc_test.go
if compiler.name == "gcc" { c.cFlags = append(c.cFlags, "-fPIC") c.ldFlags = append(c.ldFlags, "-fPIC", "-static-libtsan") } case "address": c.goFlags = append(c.goFlags, "-asan") // Set the debug mode to print the C stack trace. c.cFlags = append(c.cFlags, "-g") case "fuzzer": c.goFlags = append(c.goFlags, "-tags=libfuzzer", "-gcflags=-d=libfuzzer") default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 20:00:56 UTC 2024 - 14.4K bytes - Viewed (0) -
src/runtime/cgo/cgo.go
*/ package cgo /* #cgo darwin,!arm64 LDFLAGS: -lpthread #cgo darwin,arm64 LDFLAGS: -framework CoreFoundation #cgo dragonfly LDFLAGS: -lpthread #cgo freebsd LDFLAGS: -lpthread #cgo android LDFLAGS: -llog #cgo !android,linux LDFLAGS: -lpthread #cgo netbsd LDFLAGS: -lpthread #cgo openbsd LDFLAGS: -lpthread #cgo aix LDFLAGS: -Wl,-berok #cgo solaris LDFLAGS: -lxnet #cgo solaris LDFLAGS: -lsocket
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 14:29:46 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/darwin_lto_library_ldflag.txt
[!GOOS:darwin] skip [!cgo] skip ! go build stderr 'invalid flag in #cgo LDFLAGS: -lto_library' -- go.mod -- module ldflag -- main.go -- package main // #cgo CFLAGS: -flto // #cgo LDFLAGS: -lto_library bad.dylib import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 15:41:16 UTC 2024 - 241 bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
} else { compiler = envList("CC", cfg.DefaultCC(cfg.Goos, cfg.Goarch)) } ldflags = append(ldflags, "-buildmode="+ldBuildmode) if root.buildID != "" { ldflags = append(ldflags, "-buildid="+root.buildID) } ldflags = append(ldflags, forcedLdflags...) ldflags = append(ldflags, root.Package.Internal.Ldflags...) ldflags, err := setextld(ldflags, compiler) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_ppc64_linker_funcs.txt
[!GOOS:linux] skip [!compiler:gc] skip [!cgo] skip [!GOARCH:ppc64le] skip go build -ldflags='-linkmode=internal' exec ./abitest stdout success go build -buildmode=pie -o abitest.pie -ldflags='-linkmode=internal' exec ./abitest.pie stdout success -- go.mod -- module abitest -- abitest.go -- package main /* #cgo CFLAGS: -Os int foo_fpr() { asm volatile("":::"fr31","fr30","fr29","fr28"); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 1K bytes - Viewed (0)