]> Cypherpunks repositories - gostls13.git/commitdiff
include syscall in default build
authorRob Pike <r@golang.org>
Fri, 8 Aug 2008 00:36:50 +0000 (17:36 -0700)
committerRob Pike <r@golang.org>
Fri, 8 Aug 2008 00:36:50 +0000 (17:36 -0700)
fix an issue with autolib names by compiling to target location
print a bit more when compiling

R=gri
OCL=13988
CL=13988

src/clean.bash
src/lib/make.bash
src/make.bash

index 4d417eb242eb8b9ad1abf741559ee15046771cc2..dd727ac608c8da150de41e4b506b577681f88dfe 100755 (executable)
@@ -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
index 3f5295027391de9bdde9a730c930dd6d1185a7a1..be62e0a5cb79cf1426179b0e93c363470a8310d1 100755 (executable)
@@ -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
index 2d17e798f24c947d2000aa90bef9eed93d766cee..f2543b553d21c08b016dc85aac36df0c356c572c 100755 (executable)
@@ -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