From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by sourceware.org (Postfix) with ESMTPS id 3025F3857814 for ; Mon, 14 Sep 2020 22:51:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3025F3857814 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=masten.aero Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=aghosh@masten.aero Received: by mail-pg1-x530.google.com with SMTP id k14so904164pgi.9 for ; Mon, 14 Sep 2020 15:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=masten-aero.20150623.gappssmtp.com; s=20150623; h=from:subject:to:organization:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=Jj9HWGHel4Z8Uj+dAsodbyuHgiOqkl14aw9l7KYKitw=; b=G9V0XrI6Vt6sjuxLbaTMZUgBcBRpUHLNsTT3avGOq7BpExt5DmFQvuCmYDHi6nXgB/ LH2zxKSCgoBwJEU059UDn+/nncO+LOdPwrCgrNIJjZnSuIwGqdWdKH5lilvfpFrtfuxp Xeygetx00f6hD6yXuVgDxJSVAPtFIfNMtjqMzCiaa+cGGnVtEjjvnBQ7vB7Wxa5Go3jq UbjEq86BQkly138NI9GNrKPP/5SQsJfsGG9iq4PHwzgE/M4KST2WJmwGsy1P5AO2pYBV HIfmZsWeEwBazQ057/tsNePTBnBdcuPs2J3nni/bwWnS0qHZrncMdLIj1TepmULXiROe tmHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:organization:message-id:date :user-agent:mime-version:content-transfer-encoding:content-language; bh=Jj9HWGHel4Z8Uj+dAsodbyuHgiOqkl14aw9l7KYKitw=; b=ZeoICcuvmyoHYoVmKyEvP8Z1lrkNJY9LG2AtHEoE4LceBjBwov1v46LBvSLmKSRw7W nXrBNNg2Vryd6g7DJqwHd2LSUXdFC8xscaIad431VfuXZq2iJkMPNzYrlLryyRv0hM5u JT3qNRogrSvnOn0tA2JK0WKSBC1zYumQLy67S38sWQIEjOpXbScsPdWdrMxGi06spiDE LUNSRlz6JvnmhcJ7nK1Si6VtSuqv8HJNZMJljCPPsdRm7OtAZ3dam4vu/JJXl0oNYX+G vSv/6NugCa5uNMdxD6KEiaI/nt3nYhavhCrVlfOL9bkFGxlsWtkB3FVOtBi9jvIJefVz KBug== X-Gm-Message-State: AOAM532kOgvmYhKsXrO9AOxp+edt6Huj+UnMHQZNuvDIH46D3gEOYRFE jBEX+55BxkpHYbLDdnhygEG6VIC+W4+JJA== X-Google-Smtp-Source: ABdhPJw7U0mtGMAaGTEjT/OBHIC2VevFtnKYUDx8diWqmoo6XSXHLIpGMATKt1dqaB2ZFp0zLCZBbQ== X-Received: by 2002:a63:5ec5:: with SMTP id s188mr12516851pgb.218.1600123891087; Mon, 14 Sep 2020 15:51:31 -0700 (PDT) Received: from [192.168.1.36] ([72.34.117.26]) by smtp.gmail.com with ESMTPSA id h15sm9807122pfo.194.2020.09.14.15.51.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Sep 2020 15:51:30 -0700 (PDT) From: Abhimanyu Ghosh Subject: Baremetal big-endian toolchain for Cortex-R5 microcontroller To: crossgcc@sourceware.org Organization: Masten Space Systems Message-ID: <2e882264-0625-9caf-2e4a-c46bb01e0131@masten.aero> Date: Mon, 14 Sep 2020 15:51:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, 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 X-BeenThere: crossgcc@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: crossgcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2020 22:51:34 -0000 Hello! I am attempting to build a cross-compiler for a big-endian Cortex-R5 processor from Texas Instruments (specifically, their TMS570 lineup) using the latest stable (1.24.0) release of crosstool-ng, and was wondering if anyone on this list has experience building multilib support. More specifically, there are a number of areas I'm stuck on: - If I set CT_ARCH_BE=y is this something being applied to the multilibs, or is this purely a switch that sets the default compilation/linking flags for the generated cross toolchain? - This may be a more appropriate question for the main GCC list, but I figured I'd ask here since people are likely using crosstool to build baremetal cross-compilers over here: Most references from prior revs of GCC seem to patch the gcc/config/arm/t-rmprofile file (example: https://answers.launchpad.net/gcc-arm-embedded/+question/189066.) It seems some of that config has moved around in recent GCC revs (Ideally I'd like to build 10.2.0 to get the latest C++20 support)... is t-multilib now the correct file to patch, and if so, does anyone have pointers as to how one would build the correct multilib support? I want both libgcc and the relevant newlib support for my targets. - Follow-up from previous question: Assuming I come up with the correct patch for the GCC multilib infrastructure, will I get what I'm looking for by just enabling multilibs in the ct-ng menuconfig, and supplying my local patch file? Thanks! -- Abhimanyu Ghosh Avionics Engineer, Masten Space Systems Mojave, CA aghosh@masten.aero