examples/hello is exactly what symdev new hello --target nokia-e52 generates; a test in symdev-cli fails if the two drift. It is a console EXE (econs) that prints Hello, world! and waits for a key.
You need symdev itself: the prebuilt one (curl -fsSL https://pub-15670d2771364287b9982e497c29f586.r2.dev/install.sh | sh, available from the first release on), or one built from source as the Quick start shows. These C++ examples need no Rust installed. A Rust project (symdev new <name> --lang rust) also needs rustup, and takes its Rust SDK from SYMDEV_RUST_SDK, else from the clone a source-built symdev came from, else from the rust-sdk package, which symdev build installs; the project names that SDK only through the link build/rust-sdk, which every symdev build points at the SDK it resolved, so the project keeps building across symdev upgrades. The examples under symbian-rs/examples/ are members of the clone's own workspace and use its crates by relative path, so build them with a symdev built from the same clone, or with SYMDEV_RUST_SDK set to its symbian-rs/. A Rust program is linked by rust-lld from the project's own toolchain; with the rust-sdk package (0.3.0 on, which carries the SDK's C++ shims prebuilt) it needs no GCCE, while a clone compiles the shims with GCCE first. SYMDEV_RUST_LINKER=gnu links with GCCE's GNU ld instead (Linking Rust programs).
Build and package it on the Linux host. symdev build installs the GCCE and S60 SDK packages it is missing into SYMDEV_HOME from the sources in ~/.config/symdev/sources.toml; the SDK only from a source listed there whose key is in the environment (the private one), or set SYMDEV_EPOCROOT to your own SDK (setup: Toolchain packages). symdev sdk install with no ids, run here, installs the same pair without building:
cd examples/hello
symdev build # installing gcce;12.1.0 (… MB) from …, then build/hello.exe
symdev package # build/hello.sisx (EXE + hello_reg.rsc), self-signedTo build with your own toolchain instead, set the variables (paths from docs/superpowers/plans/2026-09-17-symdev-m1-build.md); each one that is set overrides its package path, and with all of them set nothing is installed. The E32 post-link step is native; set SYMDEV_ELF2E32 only to use an external elf2e32_next instead:
cd examples/hello
export SYMDEV_EPOCROOT=~/sdk/S60_3rd_FP2
export SYMDEV_GXX=~/gcc-builds/gcc-12.1.0/bin/arm-none-symbianelf-g++
export SYMDEV_LD=~/gcc-builds/binutils-2.29.1/bin/arm-none-symbianelf-ld
export SYMDEV_GCC_LIB=~/gcc-builds/gcc-12.1.0/lib/gcc/arm-none-symbianelf/12.1.0
export SYMDEV_GCC_TARGET_LIB=~/gcc-builds/gcc-12.1.0/arm-none-symbianelf/lib
symdev build # build/hello.exe
symdev package # build/hello.sisx (EXE + hello_reg.rsc), self-signedRun it in the patched EKA2L1 (docs/research/eka2l1-bringup.md):
export SYMDEV_EKA2L1=~/.local/bin/eka2l1 # eka2l1_qt or a wrapper that sets its env
symdev run # installs build/hello.sisx and launches 0xef9f2cab; log in build/eka2l1.logVerified 2026-09-19 in EKA2L1 (RM-469 firmware), built without SYMDEV_ELF2E32 (experiment 47): installs, appears as hello (UID 0xEF9F2CAB), shows Hello, world!. Emulator only — not a claim of E52 support.
build/ is ignored by git; never commit .sis, .sisx, .cer or .key.
examples/gui is exactly what symdev new gui --target nokia-e52 --template gui generates (also kept in sync by a test): a minimal S60 3rd Edition Avkon application (CAknApplication / CAknDocument / CAknAppUi and one control that draws a line of text) with an application resource (EIK_APP_INFO, LOCALISABLE_APP_INFO) and a registration resource.
Same steps as hello. Resources are compiled natively (symdev's own preprocessor and resource compiler, byte-equal to the SDK's cpp.exe + rcomp.exe, experiment 56); LIBRARY lines are linked as .dso. symdev package installs gui.exe, \resource\apps\gui.rsc, the registration resource and the icon.
The icon is gfx/gui.svg (SVG Tiny), named by icon = "gfx/gui.svg" under [symbian] in symdev.toml. symdev build encodes it natively into build/gui_aif.mif (byte-equal to the SDK's mifconv.exe, experiments 55 and 57), and data/gui.rss points icon_file at \resource\apps\gui_aif.mif. EKA2L1 shows it in its own app list; its S60 status pane and menu show a placeholder for every app.
Verified 2026-09-19 in EKA2L1 (experiment 51): title pane shows the caption, the view draws Hello from symdev, right softkey Exit. Emulator only.
An MMP with TARGETTYPE DLL and UID <uid2> <uid3> builds build/<name>.dll plus its import library build/<name>.dso and build/<name>.def (natively, experiments 52–53). List the DLL's MMP before its users in bld.inf; a user MMP adds LIBRARY <name>.lib. symdev package installs the DLL to !:\sys\bin\.
Ordinals follow symbol-name order until you freeze them. Once an EXE built against the DLL ships, run symdev freeze: it writes eabi/<name>u.def next to group/ (or the MMP's DEFFILE), and later builds pass it to elf2e32 as --definput, so existing ordinals stay put and new exports get the next numbers. symdev build warns while exports are unfrozen. To retire an export, keep its line and add ABSENT. A DLL with writable static data needs EPOCALLOWDLLDATA in its MMP (experiment 54).