Article ID: 000087544 Content Type: Install & Setup Last Reviewed: 10/17/2023

Why does the Nios® V  application project failed to build and  “cannot find -lstdc++” message was observed?

Environment

  • Intel® Quartus® Prime Pro Edition
  • All

    BUILT IN - ARTICLE INTRO SECOND COMPONENT
    Description

    Due to a missing multilib arch/abi-to-directory mappings in the xPack GNU RISC-V Embedded GCC v10.1.0-1.1 toolchain (Windows Build), the message was observed in the Intel® Quartus® Prime Pro Edition Software version 21.3 while building the application project of the Nios® V/m Processor Intel FPGA IP design in Windows after the command “make -C <Application project build directory>”.

      

    To verify if the toolchain has the necessary mappings, please use the command below.

    riscv-none-embed-gcc.exe --print-multi-lib

     

    The expected results should contain rv32ia/ilp32;@march=rv32ia@mabi=ilp32 to build the Nios® V application project.

     

     

    Resolution

    To work around this problem, download and install the xPack GNU RISC-V Embedded GCC v8.3.0-2.3.

     

    Download and install xPack GNU RISC-V Embedded GCC v8.3.0-2.3  from the appropriate link below.

    Related Products

    This article applies to 1 products

    Intel® Programmable Devices