- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 311 for lchflags (0.13 sec)
-
src/cmd/go/testdata/script/gccgo_link_c.txt
! go build -x -compiler gccgo stderr 'gccgo.*\-L [^ ]*alibpath \-lalib' # make sure that Go-inline "#cgo LDFLAGS:" ("-L alibpath -lalib") passed to gccgo linking stage ! stderr 'gccgo.*-lalib.*-lalib' # make sure -lalib is only passed once -- go.mod -- module m -- cgoref.go -- package main // #cgo LDFLAGS: -L alibpath -lalib // void f(void) {} import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 16:38:51 UTC 2023 - 617 bytes - Viewed (0) -
src/cmp.bash
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 echo "2b) save go build output for all packages" for pkg in `go list std`; do echo $pkg DIR=$GOROOT/src/$pkg go build -gcflags "$FLAGS2 -S" -o /dev/null $pkg &> $DIR/new.txt done 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) -
src/cmd/go/testdata/script/build_static.txt
# runtime/cgo (issue #31544). go build -ldflags=-linkmode=external ! stderr runtime/cgo exec ./hello stdout Hello # Some targets don't support -static [GOOS:darwin] skip 'no static linking on Darwin' [GOOS:solaris] skip 'no static linking on Solaris' # Building with -linkmode=external -extldflags=-static should work. go build -ldflags='-linkmode=external -extldflags=-static' ! stderr runtime/cgo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 22:03:35 UTC 2023 - 926 bytes - Viewed (0) -
src/regexp/testdata/testregex.c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 51.3K bytes - Viewed (0) -
src/syscall/syscall_darwin.go
//sys Dup(fd int) (nfd int, err error) //sys Dup2(from int, to int) (err error) //sys Exchangedata(path1 string, path2 string, options int) (err error) //sys Fchdir(fd int) (err error) //sys Fchflags(fd int, flags int) (err error) //sys Fchmod(fd int, mode uint32) (err error) //sys Fchown(fd int, uid int, gid int) (err error) //sys Flock(fd int, how int) (err error) //sys Fpathconf(fd int, name int) (val int, err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0) -
src/syscall/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: Thu Oct 06 21:22:22 UTC 2022 - 10.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/asan_test.go
dir := newTempDir(t) defer dir.RemoveAll(t) var ldflags string for i := 1; i <= 10; i++ { ldflags += fmt.Sprintf("-X=main.S%d=%d -X=cmd/cgo/internal/testsanitizers/testdata/asan_linkerx/p.S%d=%d ", i, i, i, i) } // build the binary outPath := dir.Join("main.exe") cmd := config.goCmd("build", "-ldflags="+ldflags, "-o", outPath) cmd.Dir = srcPath("asan_linkerx") mustRun(t, cmd)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 5.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug_lines_test.go
// testDebugLinesDefault removes the first wanted statement on architectures that are not (yet) register ABI. func testDebugLinesDefault(t *testing.T, gcflags, file, function string, wantStmts []int, ignoreRepeats bool) { unixOnly(t) if !hasRegisterABI() { wantStmts = wantStmts[1:] } testDebugLines(t, gcflags, file, function, wantStmts, ignoreRepeats) } func TestDebugLinesSayHi(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:24:52 UTC 2023 - 8.4K bytes - Viewed (0) -
pkg/test/fakes/imageregistry/Makefile
$(MD_PATH)/$(BIN_NAME)-amd64: $(MD_PATH)/main.go cd $(MD_PATH) && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o $(BIN_NAME)-amd64 -a -tags netgo -ldflags '-w -extldflags "-static"' main.go $(MD_PATH)/$(BIN_NAME)-arm64: $(MD_PATH)/main.go cd $(MD_PATH) && CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o $(BIN_NAME)-arm64 -a -tags netgo -ldflags '-w -extldflags "-static"' main.go build: $(MD_PATH)/$(BIN_NAME)-amd64 $(MD_PATH)/$(BIN_NAME)-arm64 build_and_push: build
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 17 16:29:18 UTC 2022 - 1.5K bytes - Viewed (0) -
test/fixedbugs/issue34968.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 289 bytes - Viewed (0)