From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fencepost.gnu.org (fencepost.gnu.org [IPv6:2001:470:142:3::e]) by sourceware.org (Postfix) with ESMTPS id 1EBF33858D3C for ; Mon, 14 Feb 2022 22:21:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1EBF33858D3C Received: from eggs.gnu.org ([209.51.188.92]:48624) by fencepost.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJjir-0002mC-NB for gcc-help@gnu.org; Mon, 14 Feb 2022 17:21:29 -0500 Received: from [2a00:1450:4864:20::630] (port=36750 helo=mail-ej1-x630.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJjiq-00077K-7C for gcc-help@gnu.org; Mon, 14 Feb 2022 17:21:29 -0500 Received: by mail-ej1-x630.google.com with SMTP id jg20so15355216ejc.3 for ; Mon, 14 Feb 2022 14:21:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dz8fgQZXQ37R2Gzkoyt7/h/TdpZ3i2pcyv/hyWLS8pE=; b=3sRgE073uiEO9bsCIUEEpystR1huxXq8pXggaeDffrMQXXQ4vam++0YyRuys29VbEH FeWQ44UzTajGke9H4scSuIXsGGd89wc/rxM90ydeaehDYlpFPEklCJ2wMah2k07uBh7+ +aeEq4+Jr4rwwMDvKe97MF/dtUd56xVqYZvkAwvjIy4lLAvWxH6bp/FDwkJIsbETPWiE OXK+P+bh3b9/bLhd+POUlDv3a1TuiqkWke8d2vj44AWOHHzTj6V2A3NZuqt3KS1X5z44 Fne3sUfs0x12W0+AnBAEvrOPF1QQgeHSRde5EUmEwA6mVSxYYEi77LVyOkutDFLqQop2 yOIg== X-Gm-Message-State: AOAM530ZRfW/BQeiofBb0mL07p0s6rlQjPoGQ2h9mOhnt99vNbIgLsbU 4wt9rjO9Mk0DxyRNVY+sFAN2RBHAGIK4FDCMEVk= X-Google-Smtp-Source: ABdhPJxxrArsRQ8nGMLEfvcemTe2lWOp03jc31uZPdLNIf1WbyF11nZP4TiY9j+JScn3oPxcLNO8ms15YzwtFrNX+cc= X-Received: by 2002:a17:906:2811:: with SMTP id r17mr709945ejc.31.1644877284675; Mon, 14 Feb 2022 14:21:24 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Tom Kacvinsky Date: Mon, 14 Feb 2022 17:21:13 -0500 Message-ID: Subject: Re: gcc 7.1.0 To: Zane Asher Post Cc: gcc-help@gnu.org Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::630 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=tkacvins@gmail.com; helo=mail-ej1-x630.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.635, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2022 22:21:31 -0000 On Mon, Feb 14, 2022 at 4:48 PM Zane Asher Post via Gcc-help wrote: > > Hi. I'm trying to compile a cross compiler to build my OS. I'm trying to > build on Windows using MSYS2. I'm having a couple of issues, though. First, > when it gets to s-selftest in gcc-build/gcc/Makefile, it stops with this > error: > > CreateProcess: not a directory or file > I too have had fun with building GCC on Windows using MSYS2. Fortunately for me, the mingw-w64 development team has been very helpful. I know of at least one of the mingw-w64 developers chimes in on the binutils list, perhaps there are some of them on this list, too. I'd start with this github repo which provides patches for building GCC within an MSYS2 environment: https://github.com/msys2/MINGW-packages There are patches and pacman build scripts (pay attention to the scripts, they do some magic aside from applying patches). There is stuff there for arm cross compilers. But beware, these patches may no longer apply for GCC 7.0 as the mingw-w64 folks keep pretty current with packages they deliver. Hope this helps, Tom