public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Vijay Holimath <vijay.holimath@gmail.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: RISC-V G++ and Gfortran Help
Date: Mon, 9 Mar 2020 16:36:42 +0000	[thread overview]
Message-ID: <CAH6eHdTQHCP=Og+MFenRyS5k9OVMfaqh4+EFwS6g8a5CzoPbsA@mail.gmail.com> (raw)
In-Reply-To: <CAL7Ob93Q10-9QzNJ9gLEW9CUT4HgWz-f3vnfaFDzTroxWYjcaw@mail.gmail.com>

On Mon, 9 Mar 2020 at 15:36, Vijay Holimath wrote:
>
> 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.

Like I already said, all the source files are in the same tree as the
C compiler. So you already have them.

It looks like crosstool-ng does support building any of the language
front-ends supported by GCC, see:

https://github.com/crosstool-ng/crosstool-ng/blob/c969be1880f99b6da4d98afd7bda641b7868a717/scripts/build/cc/gcc.sh#L37

Maybe you should just spend some time investigating crosstool-ng.

  reply	other threads:[~2020-03-09 16:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-09 13:57 Vijay Holimath
2020-03-09 14:30 ` Jonathan Wakely
2020-03-09 15:33 ` Vijay Holimath
2020-03-09 16:36   ` Jonathan Wakely [this message]
2020-03-09 22:02 ` Jim Wilson
2020-03-10  2:00   ` Vijay Holimath
2020-03-11 23:24     ` Jim Wilson
2020-03-12  0:53       ` Vijay Holimath
2020-06-15  4:04         ` Vijay Holimath
2020-06-15 21:49           ` Jim Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH6eHdTQHCP=Og+MFenRyS5k9OVMfaqh4+EFwS6g8a5CzoPbsA@mail.gmail.com' \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=vijay.holimath@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).