Created
August 12, 2015 22:05
-
-
Save rday/cc831b2a9d5dac7e5494 to your computer and use it in GitHub Desktop.
Rumpkernel build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PATH=/home/rday/Development/os/rump/qemu/bin:$PATH:/home/rday/Development/os/rump/rumprun/app-tools | |
cython --embed -v -3 -Werror main.py | |
x86_64-rumprun-netbsd-gcc main.c -I../Python-3.4.3/pythondist/include/python3.4m -L../Python-3.4.3/pythondist/lib -lpython3.4m -lutil -lm -lz -lssl -lcrypto | |
rumpbake hw_virtio a.bin a.out | |
rumprun qemu -D 1234 -i \ | |
-I if,vioif,'-net tap,ifname=tap0,script=no'\ | |
-W if,inet,static,10.10.10.11/24 \ | |
-b ../../python.iso,/python/lib/python3.4 \ | |
-b ../../stubetc.iso,/etc \ | |
-b pyenv.iso,/python/lib/python3.4/site-packages \ | |
-e PYTHONHOME=/python a.bin \ | |
-D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment