State of MIPS
Petar
Petar
Wed Feb 19 08:43:55 UTC 2020
On Wednesday, 19 February 2020 at 07:09:02 UTC, April wrote:
> What's the current state of MIPS compiling for bare metal?
> Especially the R4300i processor. I see MIPS on both GDC and LDC
> "partial support/bare metal" lists but them being somewhat
> vague about it I'm not quite sure which it means and I'm sure
> by now the processors and instruction sets are different from
> what they were in 1995.
>
> Thanks,
> April.
Unfortunately, the current state is objectively unknown, as MIPS
is not part of the architectures that we do continuous
integration testing on. I suggest trying to run the
compiler/druntime/phobos tests on MIPS (either real hardware, or
emulator) to see what works at this moment. It is likely that for
bare metal enough of the language would be stable and working
correctly, but we can't know for sure.
You can follow the instructions to cross-compile with LDC:
https://wiki.dlang.org/Building_LDC_runtime_libraries
And for GDC:
https://wiki.dlang.org/GDC_Cross_Compiler
If you need specific help any of those compilers, I suggest
asking for help in their respective sections of the
forum/newsgroup.
More information about the Digitalmars-d-learn
mailing list