]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: add -extld and -extldflags options
authorIan Lance Taylor <iant@golang.org>
Mon, 1 Apr 2013 19:56:18 +0000 (12:56 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 1 Apr 2013 19:56:18 +0000 (12:56 -0700)
commit9182c364aa3ab443716508077cb915ce88ae31cc
tree516a67c87a1f14d278e9626c687ecbdea649794d
parentdf9f4f14b988c1a6dd0b5106ed1f3720c43fdd28
cmd/ld: add -extld and -extldflags options

Permits specifying the linker to use, and trailing flags to
pass to that linker, when linking in external mode.  External
mode linking is used when building a package that uses cgo, as
described in the cgo docs.

Also document -linkmode and -tmpdir.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8225043
src/cmd/5l/obj.c
src/cmd/6l/obj.c
src/cmd/8l/obj.c
src/cmd/ld/doc.go
src/cmd/ld/lib.c
src/cmd/ld/lib.h