Commit fa7d54ff authored by Rob Pike's avatar Rob Pike

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
parent e3fc1246
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style # Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file. # 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 do
cd $i cd $i
make clean make clean
......
...@@ -4,9 +4,12 @@ ...@@ -4,9 +4,12 @@
#!/bin/bash #!/bin/bash
echo; echo; echo %%%% making lib %%%%; echo
rm -f *.6 rm -f *.6
for i in fmt.go flag.go container/vector.go for i in fmt.go flag.go container/vector.go
do do
6g $i base=$(basename $i .go)
echo 6g -o $GOROOT/pkg/$base.6 $i
6g -o $GOROOT/pkg/$base.6 $i
done done
mv *.6 $GOROOT/pkg
...@@ -18,3 +18,12 @@ do ...@@ -18,3 +18,12 @@ do
bash make.bash bash make.bash
cd .. cd ..
done 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment