Differences From Artifact [988c350508]:
- Executable file scripts/addpayload.sh — part of check-in [1d10790192] at 2013-03-05 16:57:01 on branch filesystem — Change bootstrap script to use REPO variable instead of fully hardcoded constant. Add paklib/hello_world.c to showcase a simple tcc -run file. Update scripts/Tupfile to depend on the tcc binary too. Update scripts/addpayload.sh to also include the tcc native binary. Update src/spm.c to call lua, further calling tcc. (user: tcg.thegamer@gmail.com size: 322)
To Artifact [2636bdcd62]:
- Executable file scripts/addpayload.sh — part of check-in [57386f484f] at 2013-03-06 14:12:46 on branch filesystem — Fixing a few things, need to store latest commit (user: tcg.thegamer@gmail.com size: 365)
1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | + | #!/bin/bash # Ensure that .spm/ exists before trying to write to it. mkdir -p .spm/ cp -f ../src/spm .spm/spm cp -f ../deps/tinycc/tcc .spm/tcc cp -Rf ../deps/tinycc/include .spm/paklib/ cp -f ../deps/tup/tup .spm/tup cp -Rf ../paklib/ .spm/paklib/ tar -czf spm.tgz .spm/ cp -f spm.sh.in spm.sh echo "PAYLOAD:" >> spm.sh cat spm.tgz >> spm.sh rm -Rf spm.tgz .spm/ |