]> Cypherpunks repositories - gostls13.git/commit
build packages in obj/ subdirectory that mimics $GOROOT/pkg.
authorRuss Cox <rsc@golang.org>
Fri, 17 Apr 2009 03:52:13 +0000 (20:52 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 17 Apr 2009 03:52:13 +0000 (20:52 -0700)
commit0f153ec6b47382f4df8f3b62acdee89208d97584
tree61e901735722fceb52ace51d3d52d258e4f93d34
parent3761da2d0171946788f6233492622e9078ef242f
build packages in obj/ subdirectory that mimics $GOROOT/pkg.
for example, if building in src/lib/container,
objects go in obj/container/, so that 6g -Iobj
will find "container/vector".

install packages in hierarchy in $GOROOT.

this change only updates gobuild.
another change will have to update all
the sources to refer to "container/vector" etc
and regenerate all the Makefiles.

there are some pretty lame functions here
(e.g., Mkdir, Remove, the Getenv("PWD"))
but i will implement better ones in another CL.

R=r
DELTA=117  (99 added, 2 deleted, 16 changed)
OCL=27550
CL=27574
src/cmd/gobuild/Makefile
src/cmd/gobuild/gobuild.go
src/cmd/gobuild/makefile.go
src/cmd/gobuild/util.go