-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[COMPILER REQUEST]: sh-elf-gdc #6520
Labels
Comments
As discussed, I'll have a look, thanks for opening the issue 👍 |
Ok, first step ✔️ locally. Now, the hardest part is to see how to cleanly install this. |
Companion change in ct-ng up for review: crosstool-ng/crosstool-ng#2159 |
dkm
added a commit
to compiler-explorer/infra
that referenced
this issue
May 24, 2024
Add the tinyd-rt lib. This is a small D runtime, an alternative to the libphobos provided along gdc. refs compiler-explorer/compiler-explorer#6520 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
dkm
added a commit
to compiler-explorer/gcc-cross-builder
that referenced
this issue
Jun 5, 2024
Enable D and Ada for sh refs compiler-explorer/compiler-explorer#6520 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Rebuild for GCC with both Ada and D: https://github.com/compiler-explorer/infra/actions/runs/9388196335 |
dkm
added a commit
to compiler-explorer/infra
that referenced
this issue
Jun 5, 2024
Add the tinyd-rt lib. This is a small D runtime, an alternative to the libphobos provided along gdc. refs compiler-explorer/compiler-explorer#6520 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Merged
dkm
added a commit
that referenced
this issue
Aug 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: