./run-gdb --gdbserver --userland userland/c/print_argv.c main+
./run-gdb --gdbserver --userland userland/c/command_line_arguments.c main
diff --git a/index.html b/index.html index 2387dfd..4220a1d 100644 --- a/index.html +++ b/index.html @@ -1275,7 +1275,9 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
./run-gdb --gdbserver --userland userland/c/print_argv.c main+
./run-gdb --gdbserver --userland userland/c/command_line_arguments.c main
Let’s run userland/c/print_argv.c built with the Buildroot toolchain on QEMU user mode:
+Let’s run userland/c/command_line_arguments.c built with the Buildroot toolchain on QEMU user mode:
./build user-mode-qemu ./run \ - --userland userland/c/print_argv.c \ + --userland userland/c/command_line_arguments.c \ --userland-args='asdf "qw er"' \ ;
./run \ --arch aarch64 \ --gdb-wait \ - --userland userland/c/print_argv.c \ + --userland userland/c/command_line_arguments.c \ --userland-args 'asdf "qw er"' \ ;
./run-gdb \ --arch aarch64 \ - --userland userland/c/print_argv.c \ + --userland userland/c/command_line_arguments.c \ main \ ;
./run \ --arch aarch64 \ --gdb \ - --userland userland/c/print_argv.c \ + --userland userland/c/command_line_arguments.c \ --userland-args 'asdf "qw er"' \ ;
userland/c/command_line_arguments.c: print one command line argument per line using argc and argv.
Good sanity check for user mode: QEMU user mode getting started
+Maybe some day someone will use this setup to study the performance of interpreters:
+Parent section: Interpreted languages.
+Install the interpreter with:
+./build-buildroot --config 'BR2_PACKAGE_NODEJS=y'+
TODO: broken as of 3c3deb14dc8d6511680595dc42cb627d5781746d + 1:
+ERROR: package host-nodejs installs executables without proper RPATH+
Examples:
+process
fs