Skip to content

Unrecognized command line option '-m=32' with the pulp-riscv-gnu-toolchain #196

@lstrz

Description

@lstrz

On a 64 bit Ubuntu I've compiled the toolchain as instructed in its repo:

./configure --prefix=/opt/riscv --with-arch=rv32imc --with-cmodel=medlow --enable-multilib
make

When preparing to compile helloworld with

./cmake_configure.zeroriscy.gcc.sh

I get an error

riscv32-unknown-elf-gcc: error: unrecognized command line option '-m=32'

Did I do something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions