diff --git a/docs-crowdin-export/ru-RU/docs/reference/build-system.mdx.mdx b/docs-crowdin-export/ru-RU/docs/reference/build-system.mdx.mdx index 68a8444..10fbd56 100644 --- a/docs-crowdin-export/ru-RU/docs/reference/build-system.mdx.mdx +++ b/docs-crowdin-export/ru-RU/docs/reference/build-system.mdx.mdx @@ -56,7 +56,7 @@ moc = "moc {in} -o {out}" ### GAS / NASM / MASM / FASM / LLVM-IR * GAS: `-I`, `-c -o`, `--defsym` -* NASM: `-I`, `-o`, `-D`, `-f` (format: win64/elf64/macho64/macho32/elf32) +* NASM: `-I`, `-o`, `-D`, `-f` (format: win64/elf64/macho64/macho32/elf32; **`bin` when `kind = "flat-bin"`**) * MASM: `/nologo /c /Fo\ ` * FASM: ` \` (output path is the object file) * LLVM IR: `-filetype=obj -o \` @@ -78,15 +78,20 @@ Three levels of incrementality: ## Build Kinds -| Kind | Type | Path (Linux example) | -| ----------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `bin` | Executable | `target/\/\/\` (.exe on Windows) | -| `staticlib` | Static library | `target/\/\/lib\.a` (.lib) | -| `sharedlib` | Dynamic library | `target/\/\/lib\.so` (.dll/.dylib) | -| `efi` | UEFI application | `target/\/\/\.efi` | -| `elf` | ELF without stdlib | `target/\/\/\` | -| `none` | Compile only, no link | — | -| `custom` | Full filename+extension control | `target/\/\/\.\` | +| Kind | Type | Path (Linux example) | +| ----------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `bin` | Executable | `target/\/\/\` (.exe on Windows) | +| `staticlib` | Static library | `target/\/\/lib\.a` (.lib) | +| `sharedlib` | Dynamic library | `target/\/\/lib\.so` (.dll/.dylib) | +| `efi` | UEFI application | `target/\/\/\.efi` | +| `elf` | ELF without stdlib | `target/\/\/\` | +| `none` | Compile only, no link | — | +| `custom` | Full filename+extension control | `target/\/\/\.\` | +| `flat-bin` | Raw binary | ASM: `\.bin` (NASM `-f bin` / FASM / GAS·MASM·LLC via objcopy); C/C++: `\.bin` (link + objcopy) | + +## Disk images (`[archive]`) + +After a successful build, if `[archive]` is present in `dcr.toml`, DCR formats a FAT volume and copies files from `layout` into the image. See [dcr.toml → archive](/docs/reference/dcr-toml#archive). ## Build Steps