From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id 62EAE3858D1E for ; Wed, 21 Dec 2022 07:55:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 62EAE3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x62e.google.com with SMTP id fc4so34781378ejc.12 for ; Tue, 20 Dec 2022 23:55:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3UFVstVBB0hhHgvQxKid+aBhKaCQHQMFXoXavBvnLuM=; b=Bk4iqPa7PyZAQNpZxfYUkya2kq3ah3fb8Nfsqp45BZExQOLOCy8tq2dYvFWH15UOxQ 0eWojpdmG12gBLOSkt7Q9ii6JCAS7AsU4EOiHNrOXeqOg5Qu/C2kgG72SVorIiNOKLou FqQ6qpvd9TMDIHJwZh3HoQ3Sq1NW7iaxYAFgM5TV9IC1WCL1EIIbs0PLpCbKX3iVu/1A zJsVRjhb3eP2DwFWTLITm8Sz89kpX39c3FmmXGWsbX+6HyVQlmN62HRZKPRT92+NjTHY aNejkXawOFPNeWFQACfE+S8imSPrVcbKoE7vS2t/7qy85gATndsK8Q1FlmzP6XAmC2AS cfng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3UFVstVBB0hhHgvQxKid+aBhKaCQHQMFXoXavBvnLuM=; b=EJ9JDpjZSctplb41uyU5ZSocUTJRencPKxmXfvCKW+BchKjU1Em51fnI/2IaAcpbSa /VGkX7mXxkHtLLDRZ501xsLeqPoizukvnp/QvHNRR+OkqkSazpK/r4qsS0z4g/XrazjU x7sJpHQ9ZFyJLvMM54dJcJWxWcjn/JcYfse2AlIkx/CDMiw0o+1NuXo1p3j4K6Wtgcmr 6uoVK/fmZYwZnjQQD0bILXgVTlpGBX9bpZjn6wgXh0ER9fVlFx9nOxdjJGuGSyIaLRPH yGCxU+66Qnht+kOfIh8RjL/Hh89Q923ZOveOS2bX14N9PGA4dVpXiBLTWfBJsMjME6dE qUcA== X-Gm-Message-State: AFqh2koMq+Yw/qhpIuOJiwYAtg0gYfrcECkaVWeH6v1dE+jQCK6LnCjW KTMxQoYZQy2pDl9ZASxp4R3jVWEhIKHpy/Palfw= X-Google-Smtp-Source: AMrXdXtAI+V+4eIDCKPVo4s4t2Sgz7VkhIM6sJIpGPDYo2maw2YVfH3GFbULa70Jb71SEEACVK/ZjzfcUI4s0gkB7oQ= X-Received: by 2002:a17:907:170c:b0:83e:687c:94f9 with SMTP id le12-20020a170907170c00b0083e687c94f9mr87386ejc.331.1671609356104; Tue, 20 Dec 2022 23:55:56 -0800 (PST) MIME-Version: 1.0 References: <1bef7025277f9ae9bcb9f6276549f8c1@autistici.org> <1883c71d40cfc585be486e9ab6c22e11@autistici.org> In-Reply-To: <1883c71d40cfc585be486e9ab6c22e11@autistici.org> From: Jonathan Wakely Date: Wed, 21 Dec 2022 07:55:45 +0000 Message-ID: Subject: Re: GCC for Windows To: Oleksii Khramkov Cc: Gcc Help , i.nixman@autistici.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_00,BODY_8BITS,DEAR_SOMETHING,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: As explained at https://gcc.gnu.org/install/binaries.html the GCC project does not provide precompiled binaries, only source code. For Windows there are several places to download binaries, such as nixman's link below, or the mingw-w64 project, or https://nuwen.net/mingw.html or tdm-gcc. On Wed, 21 Dec 2022 at 07:43, i.nixman--- via Gcc-help wrote: > > > hello, > > then just download one of: > https://github.com/niXman/mingw-builds-binaries/releases > > > > best! > > > On 2022-12-20 20:35, Oleksii Khramkov wrote: > > Hello, > > > > 1) It doesn't matter. The customer wants to create device tree files on > > Windows, but then use these files on Unix. > > The funny thing is that this script works fine on ubuntu. But it > > doesn't > > suit them. > > 2) In this case, I use only default C libs. > > I just need advice on how to install GCC for Windows and make it > > possible > > to be called from PowerShell like in the Linux shell. > > > > Thanks and best wishes, > > > > Yours faithfully, > > > > Oleksii Khramkov > > > > =D1=81=D0=B1, 17 =D0=B3=D1=80=D1=83=D0=B4. 2022 =D1=80. =D0=BE 11:07 =D0=BF=D0=B8=D1=88=D0=B5: > > > >> > >> Hello, > >> > >> just a two questions: > >> > >> 1) what is target OS/ARCH oft the compiled programs? > >> 2) which additional third-party libs is required for the generated C > >> files to build? > >> > >> > >> > >> > >> best! > >> > >> > >> On 2022-12-17 08:10, Oleksii Khramkov via Gcc-help wrote: > >> > Dear Sir / Madam > >> > > >> > I am writing to request your help with the installation of GCC for > >> > Windows. > >> > > >> > I'm an embedded C developer and I have a task to adapt a python scri= pt > >> > for > >> > Windows that creates devise tree files for the required sample. Insi= de > >> > the > >> > script, GCC is called to compile C files. I never came across using = GCC > >> > on > >> > Windows. Can you advise on how to install GCC for Windows, if it is > >> > possible? > >> > > >> > Thanks and best wishes, > >> > > >> > Yours faithfully, > >> > > >> > Oleksii Khramkov > >> > >>