Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for peimporteddlls (0.18 sec)

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

    				dynamic.AddInteriorSym(m.s)
    			}
    
    			dynamic.SetSize(dynamic.Size() + int64(ctxt.Arch.PtrSize))
    		}
    	}
    
    	return dr
    }
    
    // peimporteddlls returns the gcc command line argument to link all imported
    // DLLs.
    func peimporteddlls() []string {
    	var dlls []string
    
    	for d := dr; d != nil; d = d.next {
    		dlls = append(dlls, "-l"+strings.TrimSuffix(d.name, ".dll"))
    	}
    
    	return dlls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    	// pulling in new objects.
    	if err := loadpe.PostProcessImports(); err != nil {
    		Errorf(nil, "%v", err)
    	}
    
    	// TODO: maybe do something similar to peimporteddlls to collect
    	// all lib names and try link them all to final exe just like
    	// libmingwex.a and libmingw32.a:
    	/*
    		for:
    		#cgo windows LDFLAGS: -lmsvcrt -lm
    		import:
    		libmsvcrt.a libm.a
    	*/
    }
    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