summaryrefslogtreecommitdiff
path: root/src/cmd/gobuild/gobuild.go
AgeCommit message (Collapse)AuthorFilesLines
2009-08-12rm gobuildRuss Cox1-344/+0
R=r DELTA=827 (0 added, 826 deleted, 1 changed) OCL=33117 CL=33120
2009-06-26Getenv: almost no one wants the error, so make it return a string that may ↵Rob Pike1-4/+4
be empty. Getenverror is the new name for the old routine that returns an error too. R=rsc DELTA=35 (7 added, 7 deleted, 21 changed) OCL=30818 CL=30821
2009-06-25add ./ to imports where necessaryRuss Cox1-1/+2
R=r DELTA=51 (4 added, 4 deleted, 43 changed) OCL=30759 CL=30778
2009-06-23fix gobuild.Russ Cox1-2/+4
errors introduced in CL 30601 R=austin DELTA=6 (3 added, 0 deleted, 3 changed) OCL=30663 CL=30665
2009-06-22avoid pointer-to-slice operations in gobuildRuss Cox1-8/+10
R=r DELTA=19 (3 added, 1 deleted, 15 changed) OCL=30591 CL=30601
2009-06-09mv src/lib to src/pkgRob Pike1-2/+2
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
2009-05-29make gobuild failures more readable.Russ Cox1-7/+16
1. ar reports names of objects with duplicate text symbols. 2. gobuild only shows first line of error output for each failed command. 3. gobuild ignores files that begin with ascii non-alphanumeric non _. ; gobuild $ 6g -I _obj gobuild.go gobuild.go:150: PackageImports: undefined $ 6g -I _obj makefile.go makefile.go:102: ShellString: undefined $ 6g -I _obj util.go util.go:114: syntax error near zzz gobuild: stalemate ; ; gobuild $ 6ar grc _obj/gobuild.a util.6 util1.6 duplicate text symbol: util1.6 and util.6: gobuild·Build $ 6g -I _obj gobuild.go gobuild.go:150: PackageImports: undefined $ 6g -I _obj makefile.go makefile.go:102: ShellString: undefined gobuild: stalemate ; R=r DELTA=95 (49 added, 9 deleted, 37 changed) OCL=29625 CL=29640
2009-05-08move things out of sys into os and runtimeRuss Cox1-1/+1
R=r OCL=28569 CL=28573
2009-04-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike1-2/+2
*os.Errors with os.Errors. lib/template updated to use new setup; its clients also updated. Step 2 will make os's error support internally much cleaner. R=rsc OCL=27586 CL=27586
2009-04-16build packages in obj/ subdirectory that mimics $GOROOT/pkg.Russ Cox1-4/+46
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-16rewrite gobuild in go.Russ Cox1-0/+288
R=r DELTA=1305 (704 added, 590 deleted, 11 changed) OCL=27546 CL=27548