1
0
mirror of https://github.com/golang/go synced 2024-11-14 08:50:22 -07:00
go/src/cmd/link
Russ Cox 4f2269edbd cmd/link: add -importcfg to specify import resolution
Adds the ability to specify the file location of each imported package,
like in the -importcfg added to cmd/compile in a related CL.
In effect, -importcfg is a generalization of and supersedes -installsuffix
and -L. Of course, those flags will continue to be supported, for
compatibility with other tools.

Having this flag in Go 1.9 will let us try some experiments involving
package management without needing guinea pigs to build a custom
Go toolchain.

This flag also helps with #14271 at some later point.

For #20579.

Change-Id: Ie4c171bcd3aa2faa446ac340e36516f2f9853882
Reviewed-on: https://go-review.googlesource.com/44851
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-06-06 19:49:58 +00:00
..
internal cmd/link: add -importcfg to specify import resolution 2017-06-06 19:49:58 +00:00
doc.go cmd/link: don't suggest using nm to find -X name 2017-01-02 17:56:17 +00:00
dwarf_test.go cmd/link: skip TestDWARF when cgo is disabled 2017-03-30 22:32:33 +00:00
link_test.go cmd/link: handle long symbol names 2016-04-13 20:31:43 +00:00
linkbig_test.go cmd/internal/objabi: extract shared functionality from obj 2017-04-19 00:00:09 +00:00
main.go cmd/internal/objabi: extract shared functionality from obj 2017-04-19 00:00:09 +00:00