Skip to content
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

Allow for Runtime-less build of GDC and GNAT #2159

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

dkm
Copy link
Contributor

@dkm dkm commented May 23, 2024

Both D and GNAT have their own runtimes (resp. libphotos and libada). It is still possible to build the compiler proper without any runtime, and have an external runtime installed later. This is most commonly found in embedded systems.

An example for D is: https://github.com/KitsunebiGames/tinyd-rt
An example for Ada: https://github.com/Fabien-Chouteau/bare_runtime

scripts/build/cc/gcc.sh Show resolved Hide resolved
scripts/build/cc/gcc.sh Outdated Show resolved Hide resolved
@dkm
Copy link
Contributor Author

dkm commented May 24, 2024

I've fixed a typo from the review UI, feel free to squash before merging (I'll do that later today if the PR is still pending).

Thanks!

@dkm dkm force-pushed the dkm/ada-bare branch 2 times, most recently from 6220143 to 6f4a1ba Compare May 26, 2024 21:32
@dkm
Copy link
Contributor Author

dkm commented Jun 3, 2024

Let me know if you need me to do something more :)

@cpackham
Copy link
Contributor

cpackham commented Jun 3, 2024 via email

@dkm
Copy link
Contributor Author

dkm commented Jun 3, 2024

Oh great, thanks a lot!

Both D and GNAT have their own runtimes (resp. libphotos and libada).
It is still possible to build the compiler proper without any runtime,
and have an external runtime installed later. This is most commonly
found in embedded systems.

An example for D is: https://github.com/KitsunebiGames/tinyd-rt
An example for Ada: https://github.com/Fabien-Chouteau/bare_runtime

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
@cpackham cpackham merged commit d495367 into crosstool-ng:master Jun 5, 2024
57 checks passed
@dkm dkm deleted the dkm/ada-bare branch June 5, 2024 07:41
@dkm
Copy link
Contributor Author

dkm commented Jun 5, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants