OnWorks favicon

avr-run - Online in the Cloud

Run avr-run in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command avr-run that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



run—Simulator front-end


run [-v] [-p freq] [-m memory] [--sysroot filepath] program


Use `run program' to execute a binary by interpreting machine instructions on your host

run is the same emulator used by GDB's `target sim' command. You can run it directly by
executing run if you just want to see your program execute, and do not need any debugger
functionality. You can also use run to generate profiling information for analysis with


-v Verbose output. Display the name of the program to run before execution; after
execution, display the number of instructions executed, the number of machine
cycles emulated, the number of pipeline stalls, the real time taken, the emulated
execution time taken, and a summary of how much profiling information was

-p freq
Generate profile information (for use with gprof). freq is the profiling
frequency. Write the profiling information to a file called gmon.out.

-m memory
Set the memory size for the emulated machine to two to the power memory. The
default value is 19, emulating a board with 524288 bytes of memory.

--sysroot filepath
Prepend filepath to all simulator system calls that pass absolute file paths.
Change working directory to filepath at program start. Not all simulators support
this option; those that don't, will ignore it.

Use avr-run online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

Linux commands