amiga_build
Compiles an Amiga project by running its build script as a job, then reports compiler messages and whether the build succeeded.
Instructions
Compile a project on the Amiga by running its build script (as a job), and report the compiler's messages and whether it worked.
fpu: '' (default) builds without FPU instructions, so the program runs on every Amiga. 'auto' builds FPU code for the FPU this Amiga has, '68881' (m881.lib, 68881/68882 or a 68040/060 with its library) or '68040' (m040.lib, a 68040/060 FPU). Refused on an Amiga without an FPU. Projects made before Amigent 1.5.0 need a new build script for it (amiga_create_project).
target: '' builds 68k code; 'warpos' a PowerPC program for WarpOS with vbcc's ppc-warpos target (+warpos), which must be installed in vbcc on the Amiga; the script says so if it is not.
machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"folder": "<folder>"
},
"name": "amiga_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu | No | ||
| fpu | No | ||
| folder | Yes | ||
| target | No | ||
| devpack | No | ||
| machine | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |