Moreover, in cross-ng tool (https://crosstool-ng.github.io/) in ct-ng menu-config there are no option to build C++ and gfortran for RISC-V architecture. This thing is, I need to modify certain source codes in the source tree and rebuild both C++ and gfortran for RISC-V architecture. So, I am looking for a command or tool or config file which will allow me download all source files for C++ and gfortran compilers, modify certain part of source code in source tree and re build the compiler from scratch. I request your assistance in this regard. Many Thanks. On Mon, Mar 9, 2020 at 7:27 PM Vijay Holimath <vijay.holimath@xxxxxxxxx> wrote: > Dear Sir, > > I would like to build RISC-V g++ and gfortran compiler by downloading all > source codes to host pc (for linux OS) and then rebuild compiler from > scratch. I can build RISC-V gcc compiler from scratch by downloading to > host pc using https://crosstool-ng.github.io/ However, I have not > found any such cross compiler tool for g++ and gfortran. May I request you > to guide me on how to build RISC-V cross C ++ and gfortran compiler from > source codes? > > I look forward to hearing from you soon. > > Thanking you. > > Sincerely, > -Vijay > >