From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by sourceware.org (Postfix) with ESMTPS id 540E33896C12 for ; Mon, 1 Mar 2021 13:41:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 540E33896C12 Received: by mail-ej1-x632.google.com with SMTP id do6so28285354ejc.3 for ; Mon, 01 Mar 2021 05:41:11 -0800 (PST) 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:content-transfer-encoding; bh=3Rln85CjoSpLHESw/yoDMfn3844feGMsYXFLDvatgFc=; b=iRJGaPLedEH/Ix/PEiwUbIqzJDnTW1YlqBUS4QTDrWWWWU6WnU8d3RolABzSSSIU+X DBUHZmiVEq6NyzWKWVFAEvGVZgvYiAsKtSFG1V30N+gzBZsVF1C0krCOAGhA85jEwdpx mRD6t8b0P6T1+sK1VdvFUZk3pLRgWWUFCCbnmkFpf9zJZzpHyjvhfrFZ27poY0rN2AFS bwjhCtTyq6ZqC5wSa6nAd48sVY3xl/2+v71m+Ju3r3Rse8ozlmEBiCAIRhCVaokdy/FC sYpPkIj566qeLbEyLUend1++uY0EuzMZR/7nkSdcpOIsLP8zmqklmVWffPCE3+rxTZiv wmSQ== X-Gm-Message-State: AOAM530sEtLssVA5hnCL+9NsXeablyD7+LuoV2tInKtSmcqULadlOqUs PjpUb/3W0aTnOOLtM578hSIgCI7XcCOiqyzw3Qv5PAyX0FY= X-Google-Smtp-Source: ABdhPJz14a8vpV4T1lUuJg2mpzCuAFeuXxTuExNhvWhRj2ek18EftB1FBXeVVbtcuLQiv56e0da/xzBEnIJ0RNT2/F4= X-Received: by 2002:a17:906:75a:: with SMTP id z26mr15877025ejb.22.1614606070244; Mon, 01 Mar 2021 05:41:10 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Carlo B." Date: Mon, 1 Mar 2021 14:40:59 +0100 Message-ID: Subject: Re: How to configuring a cross compiler for ARM Cortex M4F from GCC using Cygwin To: Welwin Joseph Cc: "cygwin@cygwin.com" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 13:41:12 -0000 Hello, Il giorno dom 28 feb 2021 alle ore 09:29 Welwin Joseph via Cygwin ha scritto: > > Hi, > I am new to the concept of configuring crosscompiler from GCC , can anyon= e guide me on how to create/ Configure a cross compiler from GCC compiler f= or ARM cortex M4F using Cygwin. I am using a windows 10 PC, my target is ar= m 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-n= g: 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.