--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/mhng-4365f685-55a9-40e7-98b2-c6a13fa6ca9c%40palmer-si-x1c4.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/59A4EE9C.3090504%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/mhng-4365f685-55a9-40e7-98b2-c6a13fa6ca9c%40palmer-si-x1c4.
While I agree that ELF is also probably the wrong thing to emit for embedded
systems (as even static ELFs require some sort of loader), realistically we
just don't have time to support any other binary formats.
Our current flow is to use objcopy post-link to convert to flat binaries,
essentially doing the loading on the host. It's not ideal, but it's
functional.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/2a8ffd6a-3df9-42cf-bb7b-c717ee4e0c86%40groups.riscv.org.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/76da1f2d-503c-4265-b65c-179c20e96276%40groups.riscv.org.
regards,
Liviu
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/74662C6F-0AAD-410C-A515-0D8D3018C488%40livius.net.
Just because a particular group uses a toolchain for a particular purpose, doesn’t mean everybody else has to.
Maybe the tests should include –libgloss during compilation?
I see no need for a new toolchain. Rename riscv[xx]-unkown-elf-gcc to riscv-none-elf-gcc and remove libgloss from the build (yes, that’s what Liviu did). Anybody who wants to use additional libraries should include those during their code build.
I have no preference for the naming. I just don’t think we need another toolchain.
Richard
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/B42E0CB5-C371-46A2-8ED8-23A71284DDD4%40livius.net.
I don't understand why changing the makefile variable for linker flags to get different setups is more onerous than changing the makefile variable for the toolchain name.
because I do not use makefile directly, but managed Eclipse projects, and expecting the user to not forget to reconfigure the linker flags each time a new Eclipse project or build configuration is created is not realistic.
given that in most cases (99.9%?) the same options are required, it is safer to have them as defaults.
[rih] Playing devil’s advocate here…
You can set de flag to remove libgloss (and anything else you want to remove/add) as defaults in your eclipse plugin.xml. That’s what I do in the eclipse environment I provide.
Richard
regards,
Liviu
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/5A4652AF-DDC3-4C06-BD21-5D127DB31209%40livius.net.
I was suggesting to reuse the "vendor" field as a "variant" field:
CPU-VARIANT-OS or CPU-VARIANT-KERNEL-OS. This would provide a place to
record various extensions, such that a full RISC-V target could be
something like riscv-rv32ec-none or riscv-rv64gqv-linux-gnu. The same
riscv-standard-none and riscv-standard-linux-gnu compilers would be able
to generate binaries for all standard ISA variants. At some point, if
we can reduce the differences to libraries, we might be able to merge
all of those into a single multiarch multilib "riscv-standard-gcc" for
all standard RISC-V ISA variants on all environments.
[rih] Please no … The –march= and –mabi= options are intended for this.
Richard
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/6f689b70-78b2-4eed-bb25-0fad662f1ff9%40groups.riscv.org.