- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 283 for linking (2.8 sec)
-
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/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) -
src/cmd/go/internal/web/bootstrap.go
//go:build cmd_go_bootstrap // This code is compiled only into the bootstrap 'go' binary. // These stubs avoid importing packages with large dependency // trees that potentially require C linking, // like the use of "net/http" in vcs.go. package web import ( "errors" urlpkg "net/url" ) func get(security SecurityMode, url *urlpkg.URL) (*Response, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 13:00:34 UTC 2022 - 691 bytes - Viewed (0) -
src/cmd/go/testdata/script/link_syso_deps.txt
# Test that syso in deps is available to cgo. [!compiler:gc] skip 'requires syso support' [!cgo] skip [short] skip 'invokes system C compiler' # External linking is not supported on linux/ppc64. # See: https://github.com/golang/go/issues/8912 [GOOS:linux] [GOARCH:ppc64] skip cc -c -o syso/x.syso syso/x.c cc -c -o syso2/x.syso syso2/x.c go build m/cgo -- go.mod -- module m go 1.18 -- cgo/x.go -- package cgo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 742 bytes - Viewed (0)