File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ _toolchain_ which can be used to compile a simple program as a unikernel.
9898$ opam install solo5
9999$ eval $( opam env)
100100$ cat > main.c << EOF
101+ #include <solo5.h>
101102int solo5_app_main(const struct solo5_start_info *info) {
102103 return 0;
103104}
@@ -107,13 +108,13 @@ $ $ARCH-solo5-none-static-cc -c main.c -o main.o
107108$ cat > manifest.json << EOF
108109{
109110 "type": "solo5.manifest",
110- "version", 1,
111+ "version": 1,
111112 "devices": []
112113}
113114EOF
114115$ solo5-elftool gen-manifest manifest.json manifest.c
115116$ $ARCH -solo5-none-static-cc -c manifest.c -o manifest.o
116- $ $ARCH -solo5-none-static-ld manifest.o main.o -o main.hvt
117+ $ $ARCH -solo5-none-static-ld -z solo5-abi=hvt manifest.o main.o -o main.hvt
117118$ solo5-hvt main.hvt
118119 | ___|
119120 __| _ \ | _ \ __ \
You can’t perform that action at this time.
0 commit comments