Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PackageShlib (0.23 sec)

  1. src/cmd/link/internal/ld/ld.go

    			}
    			ctxt.PackageFile[before] = after
    		case "packageshlib":
    			if before == "" || after == "" {
    				log.Fatalf(`%s:%d: invalid packageshlib: syntax is "packageshlib path=filename"`, file, lineNum)
    			}
    			ctxt.PackageShlib[before] = after
    		case "modinfo":
    			s, err := strconv.Unquote(args)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. src/cmd/link/doc.go

    	-f
    		Ignore version mismatch in the linked archives.
    	-g
    		Disable Go package data checks.
    	-importcfg file
    		Read import configuration from file.
    		In the file, set packagefile, packageshlib to specify import resolution.
    	-installsuffix suffix
    		Look for packages in $GOROOT/pkg/$GOOS_$GOARCH_suffix
    		instead of $GOROOT/pkg/$GOOS_$GOARCH.
    	-k symbol
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/gccgo.go

    				return err
    			}
    			if err := sh.Mkdir(filepath.Dir(afterA)); err != nil {
    				return err
    			}
    			if err := sh.Symlink(afterA, beforeA); err != nil {
    				return err
    			}
    		case "packageshlib":
    			return fmt.Errorf("gccgo -importcfg does not support shared libraries")
    		}
    	}
    	return nil
    }
    
    func (tools gccgoToolchain) asm(b *Builder, a *Action, sfiles []string) ([]string, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/exec.go

    			// we must also put the full action ID into the binary's action ID hash.
    			if p1.Name == "main" {
    				fmt.Fprintf(h, "packagemain %s\n", a1.buildID)
    			}
    			if p1.Shlib != "" {
    				fmt.Fprintf(h, "packageshlib %s=%s\n", p1.ImportPath, contentID(b.buildID(p1.Shlib)))
    			}
    		}
    	}
    
    	return h.Sum()
    }
    
    // printLinkerConfig prints the linker config into the hash h,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/lib.go

    }
    
    func errorexit() {
    	exitIfErrors()
    	Exit(0)
    }
    
    func loadinternal(ctxt *Link, name string) *sym.Library {
    	zerofp := goobj.FingerprintType{}
    	if ctxt.linkShared && ctxt.PackageShlib != nil {
    		if shlib := ctxt.PackageShlib[name]; shlib != "" {
    			return addlibpath(ctxt, "internal", "internal", "", name, shlib, zerofp)
    		}
    	}
    	if ctxt.PackageFile != nil {
    		if pname := ctxt.PackageFile[name]; pname != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top