VIUA-LD(1) Viua VM Manual VIUA-LD(1)
NAME viua-ld - the Viua VM linker SYNOPSIS viua ld [--out output] [--type type] baseobj [objfile...] DESCRIPTION Link ELF files containing Viua bytecode. OPTIONS Common options -h, --help Show the man page. --version Show version information. -v, --verbose Show verbose output. --built-with Show what the toolchain has been built with. Tool options -o, --out=output Write produced file into output file instead of the default output path. The default output path depends on the type of the produced ELF: • a.out for executable files • baseobj.so for shared libraries • baseobj.a for static libraries • baseobj.o for object files --type=type Produce an ELF of the requested type. The type may be one of: • exec (the default) to produce an executable file • shared to produce a shared library • static to produce a static library • object to produce an object file -c, --object A shortcut for --type object. --dump=what Dump results of the intermediate stages of the linking process. The what argument may be: • strtab to dump the string table EXIT STATUS 0 Successful program execution 1 Invalid input FILES baseobj The main object file to use. Default name of the output de‐ pends on it. objfiles The object files to link with the main file. output The produced ELF file. The linker opens its input files read-only. SEE ALSO viua-asm(1), viua-dis(1), viua-readelf(1). readelf(1), elf(5). Web site ‹https://viuavm.org› Source code repository ‹https://git.sr.ht/~maelkum/viuavmVIUA VM Part of the viua(1) toolchain.