- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for determineLinkMode (0.19 sec)
-
src/cmd/link/internal/ld/config.go
} return false, "" } // determineLinkMode sets ctxt.LinkMode. // // It is called after flags are processed and inputs are processed, // so the ctxt.LinkMode variable has an initial value from the -linkmode // flag and the iscgo, externalobj, and unknownObjFormat variables are set. func determineLinkMode(ctxt *Link) { extNeeded, extReason := mustLinkExternal(ctxt) via := ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:14:11 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/dist/test.go
} if t.banner == "" { return } fmt.Println("\n" + t.banner + v) } // extLink reports whether the current goos/goarch supports // external linking. This should match the test in determineLinkMode // in cmd/link/internal/ld/config.go. func (t *tester) extLink() bool { if goarch == "ppc64" && goos != "aix" { return false } return true } func (t *tester) internalLink() bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
// internal linker support on some platforms which may not be implemented. ctxt.canUsePlugins = ctxt.LibraryByPkg["plugin"] != nil && iscgo // We now have enough information to determine the link mode. determineLinkMode(ctxt) if ctxt.LinkMode == LinkExternal && !iscgo && !(buildcfg.GOOS == "darwin" && ctxt.BuildMode != BuildModePlugin && ctxt.Arch.Family == sys.AMD64) { // This indicates a user requested -linkmode=external.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0)