go/src/cmd
Russ Cox 0f153ec6b4 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
2009-04-16 20:52:13 -07:00
..
5a This is really two changes in one but given interdependencies 2009-03-25 16:31:38 -07:00
5c This is really two changes in one but given interdependencies 2009-03-25 16:31:38 -07:00
5l Fixed optab to support SWI with long constant (the mode used 2009-04-10 16:44:01 -07:00
6a throw away most of the compat.h compatibility layer 2009-03-24 12:12:57 -07:00
6c bug in stack size used in 2009-04-10 15:23:19 -07:00
6g bug 142 2009-04-09 19:11:24 -07:00
6l yet another attempt at auto-linking 2009-04-08 22:45:33 -07:00
8a make 8a, 8c build again. 2009-03-24 18:04:19 -07:00
8c make 8a, 8c build again. 2009-03-24 18:04:19 -07:00
8g implement some more 8g 2009-04-02 16:48:06 -07:00
8l implement some more 8g 2009-04-02 16:48:06 -07:00
ar don't warn anymore about missing imports 2008-12-04 14:59:38 -08:00
cc bug in stack size used in 2009-04-10 15:23:19 -07:00
cov new flags to 6cov 2008-11-20 11:58:07 -08:00
gc panicln: emit just one newline 2009-04-15 22:38:09 -07:00
gobuild build packages in obj/ subdirectory that mimics $GOROOT/pkg. 2009-04-16 20:52:13 -07:00
godefs multiple bugs in bitfield handling 2009-03-31 15:44:43 -07:00
gotest Bail out of gotest immediately if compiling fails. 2009-03-31 22:35:55 -07:00
ld turn gc of unused data/code back on in loaders. 2009-04-02 17:56:23 -07:00
nm fix gotest by fixing nm -s to print in file order by storing a sequence number 2009-04-15 21:57:55 -07:00
prof libmach: 2009-02-03 15:00:09 -08:00
clean.bash new tool godefs. 2009-03-30 00:21:25 -07:00
make.bash rewrite gobuild in go. 2009-04-16 00:18:11 -07:00
make5.bash This is really two changes in one but given interdependencies 2009-03-25 16:31:38 -07:00
make8.bash move bits.c from 6g to gc 2009-03-30 16:13:11 -07:00