X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D47763896C12 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1614606075; bh=JwIJqV1hYq18VDo84OBxRYZlbQN4C+gf3UiaD7gN9tE=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Ioob39e51eY1WWZoKNQyghiFruNL4tSSLAnXfEVXSbz5KTFxHkskbUbdTqFuQqprC 5pdLvV77cB7crlEeJohzO9KJ6mV9Ry1sbaL9hqWO0D5jBR6PTYwSQZitWRdGxP9rPa 5kgQSffxLKJev6VWnwAVoUPyOndKgTj1GRxL71Ac= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 540E33896C12 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: 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 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: "Carlo B. via Cygwin" Reply-To: "Carlo B." Cc: "cygwin AT cygwin DOT com" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" 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 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. -- 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