aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-08-07 17:36:50 -0700
committerRob Pike <r@golang.org>2008-08-07 17:36:50 -0700
commitfa7d54ff2e5a3947bfcfa6b7d7a2a0f89daf3db6 (patch)
treea35b540003706dc2f9c7ae86d3c04558fd1a4646 /src
parente3fc124640d01395183d53d1c053b5236883b12f (diff)
downloadgo-fa7d54ff2e5a3947bfcfa6b7d7a2a0f89daf3db6.tar.xz
include syscall in default build
fix an issue with autolib names by compiling to target location print a bit more when compiling R=gri OCL=13988 CL=13988
Diffstat (limited to 'src')
-rwxr-xr-xsrc/clean.bash2
-rwxr-xr-xsrc/lib/make.bash7
-rwxr-xr-xsrc/make.bash9
3 files changed, 15 insertions, 3 deletions
diff --git a/src/clean.bash b/src/clean.bash
index 4d417eb242..dd727ac608 100755
--- a/src/clean.bash
+++ b/src/clean.bash
@@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-for i in lib9 libbio libmach_amd64
+for i in lib9 libbio libmach_amd64 syscall
do
cd $i
make clean
diff --git a/src/lib/make.bash b/src/lib/make.bash
index 3f52950273..be62e0a5cb 100755
--- a/src/lib/make.bash
+++ b/src/lib/make.bash
@@ -4,9 +4,12 @@
#!/bin/bash
+echo; echo; echo %%%% making lib %%%%; echo
+
rm -f *.6
for i in fmt.go flag.go container/vector.go
do
- 6g $i
+ base=$(basename $i .go)
+ echo 6g -o $GOROOT/pkg/$base.6 $i
+ 6g -o $GOROOT/pkg/$base.6 $i
done
-mv *.6 $GOROOT/pkg
diff --git a/src/make.bash b/src/make.bash
index 2d17e798f2..f2543b553d 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -18,3 +18,12 @@ do
bash make.bash
cd ..
done
+
+# do these after go compiler and runtime are built
+for i in syscall
+do
+ echo; echo; echo %%%% making $i %%%%; echo
+ cd $i
+ make install
+ cd ..
+done