Skip to content

Enabling RISC-V Big-Endian Support in GCC Toolchain #1740

@Utatsu00

Description

@Utatsu00

I'd like to use the -mbig-endian option, which is part of the RISC-V GCC toolchain.

The GCC manual states that the -mbig-endian option targets riscv32be or riscv64be.

When I attempt to compile a RISC-V program in big-endian mode using the -mbig-endian option, do I need any special configurations? Or can I simply build the toolchain as usual and then just include the -mbig-endian option during compilation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions