compiler-explorer / compiler-explorer/compiler-explorer

[COMPILER REQUEST]: sh-elf-gdc

Open
#6,520 4 comments 1 reaction 1 assignee Claimed by @dkm View on GitHub
new-compilers request
Dominant language
TypeScript
Stars
19.1k
Forks
2.1k
Avg merge
3d 15h
Merged PRs (30d)
67

Description

### 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`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.