- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for extld (0.04 sec)
-
src/cmd/go/go_boring_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 29 14:23:22 UTC 2022 - 544 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/stmtlines_test.go
t.Skipf("skipping on %s/%s: no DWARF symbol table in executables", runtime.GOOS, runtime.GOARCH) } if runtime.GOOS == "aix" { extld := os.Getenv("CC") if extld == "" { extld = "gcc" } extldArgs, err := quoted.Split(extld) if err != nil { t.Fatal(err) } enabled, err := cmddwarf.IsDWARFEnabledOnAIXLd(extldArgs) if err != nil { t.Fatal(err) } if !enabled {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 17:05:14 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/link/dwarf_test.go
for _, prog := range []string{"testprog", "testprogcgo"} { prog := prog expectDWARF := expectDWARF if runtime.GOOS == "aix" && prog == "testprogcgo" { extld := os.Getenv("CC") if extld == "" { extld = "gcc" } extldArgs, err := quoted.Split(extld) if err != nil { t.Fatal(err) } expectDWARF, err = cmddwarf.IsDWARFEnabledOnAIXLd(extldArgs) if err != nil { t.Fatal(err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 17:05:14 UTC 2023 - 6.9K bytes - Viewed (0) -
src/cmd/link/doc.go
system tools now assume the presence of the header. -dumpdep Dump symbol dependency graph. -extar ar Set the external archive program (default "ar"). Used only for -buildmode=c-archive. -extld linker Set the external linker (default "clang" or "gcc"). -extldflags flags Set space-separated flags to pass to the external linker. -f Ignore version mismatch in the linked archives. -g
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/work/gc.go
for _, f := range ldflags { if f == "-extld" || strings.HasPrefix(f, "-extld=") { // don't override -extld if supplied return ldflags, nil } } joined, err := quoted.Join(compiler) if err != nil { return nil, err } return append(ldflags, "-extld="+joined), nil } // pluginPath computes the package path for a plugin main package. //
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/link/internal/ld/lib.go
// It returns library full path if found, or "none" if not found. func (ctxt *Link) findLibPathCmd(cmd, libname string) string { extld := ctxt.extld() name, args := extld[0], extld[1:] args = append(args, hostlinkArchArgs(ctxt.Arch)...) args = append(args, cmd) if ctxt.Debugvlog != 0 { ctxt.Logf("%s %v\n", extld, args) } out, err := exec.Command(name, args...).Output() if err != nil { if ctxt.Debugvlog != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/cmd/internal/dwarf/dwarf.go
// IsDWARFEnabledOnAIXLd returns true if DWARF is possible on the // current extld. // AIX ld doesn't support DWARF with -bnoobjreorder with version // prior to 7.2.2. func IsDWARFEnabledOnAIXLd(extld []string) (bool, error) { name, args := extld[0], extld[1:] args = append(args, "-Wl,-V") out, err := exec.Command(name, args...).CombinedOutput() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 43K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
ownTmpDir bool // set to true if tmp dir created by linker (e.g. no -tmpdir) ) func init() { flag.Var(&rpath, "r", "set the ELF dynamic linker search `path` to dir1:dir2:...") flag.Var(&flagExtld, "extld", "use `linker` when linking in external mode") flag.Var(&flagExtldflags, "extldflags", "pass `flags` to external linker") flag.Var(&flagW, "w", "disable DWARF generation") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/cgo/doc.go
into fields, or else "gcc". The specific host linker command line can be overridden using command line flags: cmd/link -extld=clang -extldflags='-ggdb -O3'. If any package in a build includes a .cc or other file compiled by the C++ compiler, the go tool will use the -extld option to set the host linker to the C++ compiler. These defaults mean that Go-aware build systems can ignore the linking
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 17:12:16 UTC 2024 - 42.2K bytes - Viewed (0) -
src/cmd/dist/build.go
} link = []string{pathf("%s/link", tooldir)} if goos == "android" { link = append(link, "-buildmode=pie") } if goldflags != "" { link = append(link, goldflags) } link = append(link, "-extld="+compilerEnvLookup("CC", defaultcc, goos, goarch)) link = append(link, "-L="+pathf("%s/pkg/obj/go-bootstrap/%s_%s", goroot, goos, goarch)) link = append(link, "-o", pathf("%s/%s%s", tooldir, elem, exe)) targ = len(link) - 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0)