I have successfully downloaded the SDK from this thread and now trying to experiment with a simple Hello app.
OS: virtual box with Lubuntu (latest version), x86-64 PC running Windows10
On the start I used this script provided:
. smart-env.sh riscv64
However, I experienced compile error - this is when I didn’t pass any parameters:
comp1@comp1-virtualbox:~/mango_rtsmart_app/userapps/apps/hello$ scons scons: *** No SConstruct file found. File "/usr/lib/python3/dist-packages/SCons/Script/Main.py", line 947, in _main
Then, I used “scons -u” and it complained about CC1 missing, but then now reported about something else:
scons: Entering directory `/home/comp1/mango_rtsmart_app/userapps' scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... scons: building associated VariantDir targets: build/hello CC build/hello/main.o Assembler messages: Fatal error: invalid -march= option: `rv64imafdc' scons: *** [build/hello/main.o] Error 1 scons: building terminated because of errors.
Is there something I left out during the deploying of the SDK?