From: Abhimanyu Ghosh <aghosh@masten.aero>
To: crossgcc@sourceware.org
Subject: Baremetal big-endian toolchain for Cortex-R5 microcontroller
Date: Mon, 14 Sep 2020 15:51:29 -0700 [thread overview]
Message-ID: <2e882264-0625-9caf-2e4a-c46bb01e0131@masten.aero> (raw)
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
reply other threads:[~2020-09-14 22:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=2e882264-0625-9caf-2e4a-c46bb01e0131@masten.aero \
--to=aghosh@masten.aero \
--cc=crossgcc@sourceware.org \
/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).