public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Carlo B." <carlo.bramini@gmail.com>
To: Welwin Joseph <welwin.joseph@nestgroup.net>
Cc: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: How to configuring a cross compiler for ARM Cortex M4F from GCC using Cygwin
Date: Mon, 1 Mar 2021 14:40:59 +0100	[thread overview]
Message-ID: <CADt9577S3uafvb1tB7SDkg1YYXLeBoEje=tMbReZBSip2ehV3Q@mail.gmail.com> (raw)
In-Reply-To: <MA1PR01MB3083BC76BFFF809CC6CC4C82F39B9@MA1PR01MB3083.INDPRD01.PROD.OUTLOOK.COM>

Hello,

Il giorno dom 28 feb 2021 alle ore 09:29 Welwin Joseph via Cygwin
<cygwin@cygwin.com> ha scritto:
>
> Hi,
> I am new to the concept of configuring crosscompiler from GCC , can anyone guide me on how to create/ Configure a cross compiler from GCC compiler for ARM cortex M4F using Cygwin. I am using a windows 10 PC, my target is arm cortexM4F   TM4C129ENCPDT and I am using it as bareboard (no OS).
>
>
> With regards,
> Welwin
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

In my opinion, the best way for getting what you need is to use crosstool-ng:

https://github.com/crosstool-ng/crosstool-ng

You can clone the repo, build and install the program.
Then, you can use ct-ng for configuring the build with the platform
you want and finally start the creation.
When the process finishes, you will find your cross compiler into the
"x-tools" directory, inside your $HOME.
When you get it, it is very easy to create a cross compiler: with this
tool, I created an arm-none-eabi with NEWLIB, an aarch64 android cross
compiler with NDK and an armhf linux cross compiler.
I suggest you to do a try with this tiny thing.
Please note that after you start the build, the tool automatically
downloads the tar files with the sources that it needs, unless it
already finds them in its directory, so be careful if you have a
limited amount of internet traffic available.

Sincerely.

      reply	other threads:[~2021-03-01 13:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-28  8:04 Welwin Joseph
2021-03-01 13:40 ` Carlo B. [this message]

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='CADt9577S3uafvb1tB7SDkg1YYXLeBoEje=tMbReZBSip2ehV3Q@mail.gmail.com' \
    --to=carlo.bramini@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=welwin.joseph@nestgroup.net \
    /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).