diff options
| author | Rob Pike <r@golang.org> | 2008-06-25 21:19:05 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2008-06-25 21:19:05 -0700 |
| commit | c87597de2c785245398b4be7a7075d555d032248 (patch) | |
| tree | e63e4f4e8144018ba6276cd5403ee1ccf94dc415 /src/runtime/make.bash | |
| parent | 250a091922af9661dd1f190e74cdddf55ba331c4 (diff) | |
| download | go-c87597de2c785245398b4be7a7075d555d032248.tar.xz | |
put a makefile into runtime
make the runtime library an archive (rt0 is still separate)
update 6l to use the archive
add fakeobj.c, missing from prior change
SVN=124762
Diffstat (limited to 'src/runtime/make.bash')
| -rw-r--r-- | src/runtime/make.bash | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/runtime/make.bash b/src/runtime/make.bash index 9a6d42e26a..cfeed307c0 100644 --- a/src/runtime/make.bash +++ b/src/runtime/make.bash @@ -4,20 +4,8 @@ set -ex -$HOME/bin/6a rt0_amd64_darwin.s -mv rt0_amd64_darwin.6 ../../lib/rt0_amd64_darwin.6 +for GOOS in linux darwin +do + make install +done -$HOME/bin/6a rt0_amd64_linux.s -mv rt0_amd64_linux.6 ../../lib/rt0_amd64_linux.6 - -$HOME/bin/6c rt1_amd64_linux.c -mv rt1_amd64_linux.6 ../../lib/rt1_amd64_linux.6 - -$HOME/bin/6c rt1_amd64_darwin.c -mv rt1_amd64_darwin.6 ../../lib/rt1_amd64_darwin.6 - -$HOME/bin/6c rt2_amd64.c -mv rt2_amd64.6 ../../lib/rt2_amd64.6 - -$HOME/bin/6c runtime.c -mv runtime.6 ../../lib/rt_amd64.6 |
