Closed u77345 closed 1 year ago
Probably an incompatibility with your 64-bit toolchain. Have you tried an aarch64-none-elf target toolchain from this website? I'm using the 12.2.Rel1 version and MiniSynth Pi builds successfully on my Linux host with it. Unfortunately I cannot try this by myself on MacOS, because I do not have a Mac.
Will test with that toolcain.
Another concern is the build failing silently on missing headers or errors in the headers, due to the -MG in Rules.mk. Also applies to the Circle project. Is -MG absolutely necessary?
The option -MG
is used for dependency checking. When you have problems with it, you can disable dependency checking by adding the following line to the file circle/Config.mk after configure
:
CHECK_DEPS = 0
The Linux version of the toolchain works correctly. From now I'm building it in Docker.
When building on MacOS the build silently fails for 64 bit build, when configured with:
./configure 3 /usr/local/bin/aarch64-elf- 64
make -d reveals an issue compiling lvgl:
Workaround: 32 bit build creates viable kernel.img with:
./configure 3 /usr/local/bin/arm-none-eabi- 32