Amiga vbcc support
I know this is not going to be a common issue, so if you could help myself fix this using the current tools. I am trying to create a cross compile tool chain to code for the Amiga. Using vbcc as the compiler.
I have created a makefile project with a compiler.yaml - files included.
The code compiles but the clion ide is unable to find any reference to any included types and files. At the start of main.c are the headers, all not found - and hence the containing types.
#include <intuition/intuition.h>#include <proto/dos.h>#include <proto/intuition.h>
Any help would be useful.
All files have been attached.
My compiler directory structure is as follows, with environment variable VBCC pointing to the base of this.
├── bin
├── NDK_3.2
│ ├── Include_H
│ ├── Include_I
│ ├── lib
└── targets
├── m68k-amigaos
└── m68k-kick13
Upload id: 2026_09_24_QMsHRgt687RM1nLS2Qf1Hc (files: Makefile and 2 more)
Not everyone will see these files, so, Makefile:
VBCC ?= /home/stu/.local/share/vbccNDK_INC ?= $(VBCC)NDK_3.2/Include_HCC = $(VBCC)bin/vcCFLAGS = -c99 +kick13 -I$(NDK_INC) -I$(VBCC)targets/m68k-amigaos/includeLDFLAGS = -lamiga -lautoSRCS = main.cVPATH = $(NDK_INC).INCLUDE_DIRS = $(NDK_INC)Include_H $(VBCC)targets/m68k-amigaos/include
all: $(CC) $(CFLAGS) $(LDFLAGS) main.c -o build/window
clean: rm build/window
# vc +kick13 -c99 -I$NDK_INC -I$VBCC/targets/m68k-amigaos/include main.c -lamiga -lauto -o window
and compiler.yaml:compilers: - description: Amiga vbcc compiler match-sources: ".*\\.c" match-language: C match-compiler-exe: "(.*/)?vc(.exe)?" code-insight-target-name: m68k include-dirs: - "${compiler-exe-dir}/../targets/m68k-amigaos/include" - "${compiler-exe-dir}/../targets/m68k-kick13/include" - "${compiler-exe-dir}/../NDK_3.2/Include_H" defines: __VBCC__: "" __AMIGA__: "" AMIGA: ""
Please sign in to leave a comment.
Hello!
Please provide the following additional information:
main.cin the editor, place the caret in the code, do Help | Find Action, search for the Show Compiler Info action there, select it, and then provide the results.While
main.cis opened in the editor and the caret is in the code, capture a screenshot showing the Resolve Context widget in the Status bar (bottom-right corner of CLion) and provide it.Here are the examples of this widget:
Thank you for your response.
1. The app builds, and I can run the produced executable in an Amiga emulator.
2. Show Compiler Info shows:
The Header Search paths do resolve to the header files locations I am using/wanting to use.
3. I can see there is an issue here:
How do I set the context, please?