Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for extld (0.12 sec)

  1. 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)
  2. 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)
  3. src/cmd/link/internal/ld/dwarf.go

    		switch {
    		case ctxt.IsELF:
    		case ctxt.HeadType == objabi.Hdarwin:
    		case ctxt.HeadType == objabi.Hwindows:
    		case ctxt.HeadType == objabi.Haix:
    			res, err := dwarf.IsDWARFEnabledOnAIXLd(ctxt.extld())
    			if err != nil {
    				Exitf("%v", err)
    			}
    			return res
    		default:
    			return false
    		}
    	}
    
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top