add support for more ABIs in litecross + update target list in README#226
Open
alexrp wants to merge 2 commits into
Open
add support for more ABIs in litecross + update target list in README#226alexrp wants to merge 2 commits into
alexrp wants to merge 2 commits into
Conversation
alexrp
commented
Mar 9, 2026
Comment on lines
-54
to
+61
| - `mips-linux-musl` | ||
| - `mips[el]-linux-musl[sf]` | ||
| - `mips64[el]-linux-musl[n32][sf]` | ||
| - `mips[isa32][el]-linux-musl[sf]` | ||
| - `mipsisa32r2[el]-linux-musl[nan2008][sf]` | ||
| - `mipsisa32r6[el]-linux-musl[sf]` | ||
| - `mips[isa]64[el]-linux-musl[n32][sf]` | ||
| - `mipsisa64r2[el]-linux-musl[n32][nan2008][sf]` | ||
| - `mipsisa64r6[el]-linux-musl[n32][sf]` |
Author
There was a problem hiding this comment.
I imagine this will be confusing, so to clarify:
- MIPS r2 added optional support for nan2008.
- MIPS r6 made nan2008 mandatory.
- Earlier MIPS versions only supported the legacy format.
I'm also listing the r6 targets on their own since r6 is effectively a distinct ISA due to instruction encoding changes.
alexrp
commented
Mar 9, 2026
alexrp
commented
Mar 9, 2026
Comment on lines
46
to
+52
| ifneq ($(filter %sf,$(TARGET)),) | ||
| ifeq ($(findstring loongarch,$(TARGET)),) | ||
| ifeq ($(findstring riscv,$(TARGET)),) | ||
| GCC_CONFIG_FOR_TARGET += --with-float=soft | ||
| endif | ||
| endif | ||
| endif |
Author
There was a problem hiding this comment.
GCC does not accept --with-float=... for LoongArch and RISC-V, which is why we need --with-abi=... stuff below.
98fcbd5 to
97c8410
Compare
97c8410 to
f25a9f2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.