- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 312 for linking (0.17 sec)
-
src/cmd/link/linkbig_test.go
t.Fatalf("Program built with internal linking failed to run with err %v, output: %s", err, out) } // Build and run with external linking cmd = testenv.Command(t, testenv.GoToolPath(t), "build", "-o", "bigtext", "-ldflags", "-linkmode=external") cmd.Dir = tmpdir out, err = cmd.CombinedOutput() if err != nil { t.Fatalf("Build failed for big text program with external linking: %v, output: %s", err, out) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:22:14 UTC 2022 - 3.5K bytes - Viewed (0) -
src/cmd/go/note_test.go
if id != buildID { t.Fatalf("buildID in hello binary = %q, want %q", id, buildID) } switch { case !testenv.HasCGO(): t.Skipf("skipping - no cgo, so assuming external linking not available") case runtime.GOOS == "plan9": t.Skipf("skipping - external linking not supported") } tg.run("build", "-ldflags", "-buildid="+buildID+" -linkmode=external", "-o", tg.path("hello2.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) -
src/runtime/rt0_darwin_arm64.s
#include "textflag.h" #include "cgo/abi_arm64.h" TEXT _rt0_arm64_darwin(SB),NOSPLIT|NOFRAME,$0 MOVD $runtime·rt0_go(SB), R2 BL (R2) exit: MOVD $0, R0 MOVD $1, R16 // sys_exit SVC $0x80 B exit // When linking with -buildmode=c-archive or -buildmode=c-shared, // this symbol is called from a global initialization function. // // Note that all currently shipping darwin/arm64 platforms require // cgo and do not support c-shared.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 30 01:28:43 UTC 2022 - 1.7K bytes - Viewed (0) -
src/internal/platform/supported.go
default: return false } } // MustLinkExternal reports whether goos/goarch requires external linking // with or without cgo dependencies. func MustLinkExternal(goos, goarch string, withCgo bool) bool { if withCgo { switch goarch { case "loong64", "mips", "mipsle", "mips64", "mips64le": // Internally linking cgo is incomplete on some architectures. // https://go.dev/issue/14449 return true case "arm64":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:50:22 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_plugin_reproducible.txt
[!buildmode:plugin] skip [short] skip [!cgo] skip '-buildmode=plugin requires external linking' go build -trimpath -buildvcs=false -buildmode=plugin -o a.so main.go go build -trimpath -buildvcs=false -buildmode=plugin -o b.so main.go cmp -q a.so b.so -- main.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:07:03 UTC 2024 - 296 bytes - Viewed (0) -
src/cmd/go/testdata/script/version_gc_sections.txt
# This test checks that external linking with --gc-sections does not strip version information. [short] skip [!cgo] skip [GOOS:aix] skip # no --gc-sections [GOOS:darwin] skip # no --gc-sections go build -ldflags='-linkmode=external -extldflags=-Wl,--gc-sections' go version hello$GOEXE ! stdout 'not a Go executable' ! stderr 'not a Go executable' -- go.mod -- module hello -- hello.go -- package main /* */ import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 15:17:57 UTC 2023 - 460 bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccLinkerTest.groovy
1 * buildOperationExecutor.runAll(commandLineTool, _) >> { worker, action -> action.execute(queue) } 1 * invocationContext.getArgAction() >> Actions.doNothing() 1 * invocationContext.createInvocation("linking lib", expectedArgs, operationLogger) >> invocation 1 * queue.add(invocation) 1 * queue.setLogLocation(LOG_LOCATION) 0 * _ } List<String> getSoNameProp(def value) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/version_cshared.txt
[short] skip [!cgo] skip '-buildmode=c-shared requires external linking' [!buildmode:c-shared] stop env GO111MODULE=on go get rsc.io/fortune go build -buildmode=c-shared -o external.so rsc.io/fortune go version external.so stdout '^external.so: .+' go version -m external.so stdout '^\tpath\trsc.io/fortune' stdout '^\tmod\trsc.io/fortune\tv1.0.0' -- go.mod -- module m -- empty.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 14:52:04 UTC 2024 - 416 bytes - Viewed (0) -
test/fixedbugs/issue10607.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 776 bytes - Viewed (0) -
src/cmd/link/doc.go
If not set, default value comes from running the compiler, which may be set by the -extld option. Set to "none" to use no support library. -linkmode mode Set link mode (internal, external, auto). This sets the linking mode as described in cmd/cgo/doc.go. -linkshared Link against installed Go shared libraries (experimental). -memprofile file Write memory profile to file. -memprofilerate rate
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 16:11:52 UTC 2024 - 4K bytes - Viewed (0)