Skip to content

Latest commit

 

History

History

dl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ELF loader

Read the RuxOS Book for detail.

Quick Start

  1. Compile the C files with Musl in rootfs/.
cd rootfs/
musl-gcc libadd.c -shared -o lib/libadd.so
musl-gcc hello.c -Llib -ladd -o bin/hello
  1. Copy the Musl dyanmic linker to rootfs/lib.

  2. Run

Run with ruxgo:

# in apps/c/dl
ruxgo -b && ruxgo -r

Run with make

# in the RuxOS main directory.
make run ARCH=aarch64 A=apps/c/dl V9P=y MUSL=y LOG=debug