From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) by sourceware.org (Postfix) with ESMTPS id 299AD3858D34 for ; Mon, 15 Jun 2020 04:04:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 299AD3858D34 Received: by mail-vs1-xe30.google.com with SMTP id k13so8532057vsm.13 for ; Sun, 14 Jun 2020 21:04:23 -0700 (PDT) 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=FDMPfuilIRrtlhmA6SNivQuen3NBI+LYu+vt2s8Pj/o=; b=VCj8v334dfk5hOQaQJBxD7lgTquz+aVIeVJDnQmWhsrIgfK2Zi3exVmI4rFJgnt6JD CIzYLLg4DHfQLf2+MlXxlDNKCHLn12qBG7GDR1g7bgSO6wAT5pmuJINwYkmnr01RoVGW fhQ5wue1oiXOT9X7Ip3TVN0d5dEQHIeygaIMRTxBH8PbdD2Qebf3c7Lq5hylkzy8VzOl u4J6ObUSlbzbarajT6k+PL4zKIKt34kQ4KQN0Zh0SLe26fuoJjbVynZtUdaXY4y3CvgG RWnIjGtfNU5+JZvWCy/q6k7KBM5IuKJ1dMRToLFFUN/oaBxwXuUBMgRxba20FRUxtvCa 5p4g== X-Gm-Message-State: AOAM532bED07G+IlxAHnyLyNxJZarFSZyUaORa8YxQkRrYa7za3U05eE ye9FJXpwKm84o15q4SbFgBnNV0uJzpEFt9KxR90= X-Google-Smtp-Source: ABdhPJxj2qQAUt3oyDcfV9WHkFutg86xf7bXn9gZmRpbzQkZelL8aC3p0f5upRtJ2b601A2bBjRKaMU9W5qfKV6OuGc= X-Received: by 2002:a05:6102:21b4:: with SMTP id i20mr18183561vsb.162.1592193862094; Sun, 14 Jun 2020 21:04:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vijay Holimath Date: Mon, 15 Jun 2020 09:34:14 +0530 Message-ID: Subject: Re: RISC-V G++ and Gfortran Help To: Jim Wilson Cc: gcc-help X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 15 Jun 2020 04:04:24 -0000 Hello Jim and All, How do I build riscv32-unknown-elf-dramfs-c++, riscv32-unknown-elf-dramfs-gcc, riscv32-unknown-elf-dramfs-gfortran, etc. using crosstool-ng is there any config file(s)? Many Thanks, -Vijay On Thu, Mar 12, 2020 at 6:23 AM Vijay Holimath wrote: > Never mind, I have generated config files for C++ and fortran. Thanks for > your time Jim. > > > On Thu, Mar 12, 2020 at 4:55 AM Jim Wilson wrote: > >> On Mon, Mar 9, 2020 at 7:00 PM Vijay Holimath >> wrote: >> > 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 >> >> What exact problem do you run into? >> >> > 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. >> >> I respectfully decline. I don't have such .config files and have no >> interest in generating them. >> >> If you can't figure out how to use crosstool-ng, you could try using >> github.com/riscv/riscv-gnu-toolchain instead. Or maybe download a >> prebuilt toolchain which is available from various sources like >> sifive.com/boards. >> >> Jim >> >