Skip to content

Error while running the make vcompile.vsim #411

@sharad2000

Description

@sharad2000

Hello,

Actually, I am trying to compile and simulate Pulpino in VCS.

I have successfully run the cmake_configure.riscv.gcc.sh inside the pulpino/sw/build directory and the I also successfully ran the make vcompile inside the build directory.

Now when I am running the command make vcompile.vsim I am getting this error :

/sharadm/pulpino/sw/build % make helloworld. vsim
[0%] Building C object libs/bench_lib/CMakeFiles/bench.dir/src/bench.c.o
riscv32-unknown-elf-gcc: error: '-march=IMXpulpv2': ISA string must begin with rv32 or rv64
riscv32-unknown-elf-gcc: error: '-march=IMXpulpv2': ISA string must begin with rv32 or rv64
riscv32-unknown-elf-gcc: error: unrecognized command-line option '-m32'
make[3]: *** [libs/bench_lib/CMakeFiles/bench.dir/src/bench.c.o] Error 1
make[2]: *** [libs/bench lib/CMakeFiles/bench.dir/all] Error 2
make[1]: *** [apps/helloworld/CMakeFiles/helloworld.vsim.dir/rule] Error 2
make: *** [helloworld. vsim] Error 2
/sharadm/pulpino/sw/build % bash cmake configure. riscv.gcc.sh

Can anyone please help.

Thanks,
sharad

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