pulp-platform / ri5cy_gnu_toolchain

22 stars 23 forks source link

How to set -march=IMXpulpv2 #24

Open prats2018 opened 5 years ago

prats2018 commented 5 years ago

With the downloaded toolchain, I did the following steps . 1.cd ri5cy_gnu_toolchain-master

  1. make Once make is finished, I wanted to set the flags given, I have added the below in my Makefile.
  2. CFLAGS += -march=IMXpulpv2 -mabi=ilp32 It gives me the error: Assembler messages: Fatal error: -march=IMXpulpv2: ISA string must begin with rv32 or rv64
haugoug commented 5 years ago

You can try with that: -march=RV32IMXpulpv2