Open LunaTheFoxgirl opened 1 month ago
As discussed, I'll have a look, thanks for opening the issue :+1:
Ok, first step :heavy_check_mark: locally. Now, the hardest part is to see how to cleanly install this.
Companion change in ct-ng up for review: https://github.com/crosstool-ng/crosstool-ng/pull/2159
Rebuild for GCC with both Ada and D: https://github.com/compiler-explorer/infra/actions/runs/9388196335
Compiler name
sh-elf-gdc
Compiler version
13.2.0, tinyd-rt 0.1.1
Compiler language
D
Compiler homepage
https://gdcproject.org/
Motivation
I maintain the DLang Dreamcast SDK, and having compiler explorer output for sh-elf in gdc would help track down issues and bottlenecks.
To get sh-elf-gdc running, you just have to compile it with the D runtime disabled (
--disable-libphobos
). Additionally I maintain a minimal D runtime (without garbage collector) which can be used instead of the default D runtime.Releases are tagged here https://github.com/KitsunebiGames/tinyd-rt/releases
the source can just be downloaded and the runtime be added to the gdc search path. The following compiler flags should also be passed to the compiler on compilation
-matomic-model=soft-imask -ftls-model=local-exec -m4-single-only