Thanks Jim. Yes, I can see C++ and Fortran for new version of crosstool-ng. However, I am unable to generate .config file using the following instructions: Enable newlib build (C-library section) Enable "Build a multilib toolchain" (Target options section) and also selected C++ (C compiler section) as mentioned in https://gist.github.com/franzflasch/02a8aeb2f6ec8e942b14ee9929db38e9 I have attached my version of .config file which I build gcc from scratch. May I request you to edit this file send me two .config files? One for C++ and other fortran. Many Thanks. On Tue, Mar 10, 2020 at 3:32 AM Jim Wilson <jimw@xxxxxxxxxx> wrote: > On Mon, Mar 9, 2020 at 6:58 AM Vijay Holimath <vijay.holimath@xxxxxxxxx> > wrote: > > 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? > > Using ct-ng menuconfig, in the C compiler menu, I see tick boxes for > C++ and Fortran. > > Jim >
Attachment:
dot2.config
Description: Binary data