Skip to content

kraft-ready repo for building c++ applications with Unikraft

Notifications You must be signed in to change notification settings

unikraft-upb/app-helloworld-cpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unikraft C++ Hello World Application

This application prints a basic "Hello World!" message.

To configure, build and run the application you need to have kraft installed.

To be able to run it, configure the application to run on the desired platform and architecture:

$ kraft configure -p PLATFORM -m ARCH

Build the application:

$ kraft build

And, finally, run the application:

$ kraft run
Hello World!

If you want to have more control you can also configure, build and run the application manually.

To configure it with the desired features:

$ make menuconfig

Build the application:

$ make

Run the application:

  • If you built the application for kvm:
sudo qemu-system-x86_64 -kernel "build/app-helloworld-cpp_kvm-x86_64" \
                        -enable-kvm \
                        -nographic
  • If you built the application for linuxu:
./build/app-helloworld-cpp_linuxu-x86_64

For more information about kraft type kraft -h or read the documentation.

About

kraft-ready repo for building c++ applications with Unikraft

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%