環(huán)境 Ubuntu 20.04,?
GCC版本12.2.0
/opt/gcc-riscv/riscv-wch-embedded-gcc12-v1.91/bin/riscv-none-elf-gcc?--version riscv-none-elf-gcc?(xPack?GNU?RISC-V?Embedded?GCC?x86_64)?12.2.0 Copyright?(C)?2022?Free?Software?Foundation,?Inc. This?is?free?software;?see?the?source?for?copying?conditions.??There?is?NO warranty;?not?even?for?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.
執(zhí)行編譯報(bào)錯(cuò)
/opt/gcc-riscv/riscv-wch-embedded-gcc12-v1.91/bin/riscv-none-elf-gcc?-march=rv32imac?-mabi=ilp32?-mcmodel=medany?-msmall-data-limit=8?-mno-save-restore?-fmessage-length=0?-fsigned-char?-gdwarf-3?-Og?-std=gnu99??-Wall?-ffunction-sections?-fdata-sections?-fno-common?-I?../../Apps/TimerDemo/src?-I?../../Libraries/RVMSIS?-I?../../Libraries/StdPeriphDriver/inc?-MT?../../Build/Apps/TimerDemo/src/main.o?-o?../../Build/Apps/TimerDemo/src/main.o?-c?../../Apps/TimerDemo/src/main.c?-MMD?-MP?-MF?../../Build/Apps/TimerDemo/src/main.d riscv-none-elf-gcc:?fatal?error:?cannot?execute?'cc1':?execvp:?No?such?file?or?directory compilation?terminated.
同樣的命令用V1.91帶的GCC8.2.0編譯正常
請(qǐng)問(wèn)這可能是什么問(wèn)題?
熱門(mén)產(chǎn)品 :
CH641: PD及無(wú)線充電專(zhuān)用MCU