From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id D38923949F28 for ; Mon, 9 Mar 2020 14:31:11 +0000 (GMT) Received: by mail-wm1-x330.google.com with SMTP id a5so10193962wmb.0 for ; Mon, 09 Mar 2020 07:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EfKQRN9xiG4i5IXntPOZjFt3UBte26X0nuv1jJ67sh8=; b=MQL/mXvET6cSXbcipybyiTS7WEzelnscpCdgk8n/cVsyEE+Ajl51rScNDOJJr3+NqC QK0+8U7fU2dCSyBTQeRU3s07Hz7f3UVzn37v0VvuUfaUhnaHgjStY1wAjzOMpobGVvuy I20Y4bNbUb7yCWzkId3E92TJCkJ3ohkjjTCTCmf/40enS9nZ4pVpUeXp4HLo8fYJmEBU N1H+fFwoZII2r7Qmwu3tVi2PbuvZUWeT1oz6dxSzi/9hTTrQeJ9qvpMM/ZktRJoMBNr0 isbjSwA9m6acGME327uXJ3kOJgq6e/g3m1csKIX+NHlIVhaGNaIt/6UurOCB+zr/ye6m otZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EfKQRN9xiG4i5IXntPOZjFt3UBte26X0nuv1jJ67sh8=; b=jiYps8nZlLCNT4sQceRF3a6Sm2ZnLw8M0qpRgvpu6XUUYvGU8T95pfWDf9gOJzyADV aq4PiM4PciBJo5N/kUAZxRalLtvU2r4+OYlaRUxBhqtdlmXmYAuvMlU7BCp+RPpFH1lr hgNZX/vkvhNvr+1kbuKFgpldVL6Z4v/7ugK1gJxiBbHN/n+C//D8mwavgiMe5e8GOhV9 o0mdI20L1HM4gPYSzK0cPXSN/6GDgihq7K03C1dhzmjWBKEhClJFrvPBNRvaD1jaQPiv 5Q1dPxrE2oAhIbShiCrhpDXg4Lfuj0AYJybnKocnl1Ff41RUHSe8yF9ecOYDFEaCJR1S J/2Q== X-Gm-Message-State: ANhLgQ3rHopJ0CBVfxQGwH+UPUtx4LGGWNSljIJc8SfHXSNTXKhXnxv3 483uHRAIKFawv0axD3UzgLSZZ/96E59H/i+ENNA= X-Google-Smtp-Source: ADFU+vsclP3WK4udZ2HfO798PJh9QT/VfXI2MBb9EN+aajhSAsVMISQaKcFbOfbzPQO3n6YSyPyJ+/xOySXUS+hI12Y= X-Received: by 2002:a1c:ed0c:: with SMTP id l12mr21173100wmh.151.1583764270598; Mon, 09 Mar 2020 07:31:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Mon, 9 Mar 2020 14:30:59 +0000 Message-ID: Subject: Re: RISC-V G++ and Gfortran Help To: Vijay Holimath Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DEAR_SOMETHING, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2020 14:31:12 -0000 On Mon, 9 Mar 2020 at 14:06, Vijay Holimath 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? The same way. The C, C++ and Fortran compilers are all part of the same source tree.