From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from a1i524.smtp2go.com (a1i524.smtp2go.com [43.228.186.12]) by sourceware.org (Postfix) with ESMTPS id C635C3858413 for ; Mon, 10 Jan 2022 16:48:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C635C3858413 Received: from [10.45.79.114] (helo=SmtpCorp) by smtpcorp.com with esmtpsa (TLS1.2:ECDHE_RSA_SECP256R1__AES_256_GCM:256) (Exim 4.94.2-S2G) (envelope-from ) id 1n6xpw-SH4kGf-Tf for gcc-help@gcc.gnu.org; Mon, 10 Jan 2022 16:48:01 +0000 Received: from [104.47.9.56] (helo=EUR03-VE1-obe.outbound.protection.outlook.com) by smtpcorp.com with esmtps (TLS1.2:ECDHE_SECP384R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.94.2-S2G) (envelope-from ) id 1n6xpv-g2u589-OI for gcc-help@gcc.gnu.org; Mon, 10 Jan 2022 16:48:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fW7+3T664WEvAxaqOYt+S0KuC8kERqLPXeNySdSqqDAVG4z6t/Vba+5qJxS3IqTWLi9GY+pfTPgY/X8HtEfOrnBhEDubV8InLs0q/aj8MPBNuNMGEDRTT1TH7sCx22yu9uF6ACrxGJQ2EhFgGpatz/emfliBdFSqV1CLTeXmLIBjKgrDrcBxraQ1eNba6wPAtwPXNTR44IQIvh+/UIPmzB5uU0MW9ekbJ0xHbhBoMWGxGiiB10fK3I+X9UZ/MG7PW5BJ9c3FMDY/3p1yW2zpocJmEU0Q2JNP7gE5pd9+wLUrRuoVpAwUwdTzwZB+Cfepq3GbDJbmABkVMeiFHieJgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gvkBe+KaUGvoOXOeAA9jAsN8V33GJKSudLnq89WAPkc=; b=AlU4gciP4pha0vqR9OFvqgkq9VYQnQ5SsHTL0tjMhLYPwrJ/1lclmykInK93lWe4dqOpW+NpTkXBRUsx15mxVizQmQR8i+qiDoF91TpU3+FY3sdwYeONO9rM0l76MpE9wL/gbh0fsnkfefgRUGgOtt1gWDxfdD/F/QP6zZhmgtK7W2zI912yghFPkcNUa+gExIdgXr+FNBCALZyL1dSGEmCX79xMcQMi/tA8TbX5GGEnhBe0k/+2gsvc1lkZomxZsV43jY7+ohy9gEYk3V1188NoM56klmK1YL9+rNvydz0TDnlcV79CIvnt8UTyUaFzeHsN1jAT30nGEDgp8TTiTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=werfen.com; dmarc=pass action=none header.from=werfen.com; dkim=pass header.d=werfen.com; arc=none Received: from VI1PR0402MB3853.eurprd04.prod.outlook.com (2603:10a6:803:16::23) by VI1PR0401MB2272.eurprd04.prod.outlook.com (2603:10a6:800:31::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.9; Mon, 10 Jan 2022 16:47:56 +0000 Received: from VI1PR0402MB3853.eurprd04.prod.outlook.com ([fe80::6d80:f2d4:b4a7:cccb]) by VI1PR0402MB3853.eurprd04.prod.outlook.com ([fe80::6d80:f2d4:b4a7:cccb%6]) with mapi id 15.20.4867.012; Mon, 10 Jan 2022 16:47:55 +0000 From: Thomas Sobczynski To: "gcc-help@gcc.gnu.org" Subject: Compiling GCC 11 for Windows targeting ARM on Linux Thread-Topic: Compiling GCC 11 for Windows targeting ARM on Linux Thread-Index: AQHYBjfXdKUeXAhEXUSx+OzPOU3pVg== Date: Mon, 10 Jan 2022 16:47:55 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: d7924e19-6d91-9462-41ed-171361f5cc1a x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 61cdcfa9-3ccf-4c4e-f71e-08d9d458f3a6 x-ms-traffictypediagnostic: VI1PR0401MB2272:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: B/uhHEl2oY//yEWvJNGebZjFor96/Kido8Dq2XsidtmKPCn7OjD/h2cTU3mqIAPHRJcj5q06EWzY1zbPQ3QrWp5oqsQEYxQQcjC3jXaNDSAM/adPEuaT/mUhCVMdU+ek1+UoFcEadqB1g7XFvy9LjDsesYHBzOMB+irYMKvwR1UFIskm92pRMPM6/EIVKbc44stLcJzquxtC6APrn6u2OQn1+afHDyJAvKvmycOH8pkusqGp+Q0whzdTNqa6h2+vog4YZA9Pv0VlF5yxWOmy2myJRk8JBC/+Xfo8KWMMz+dHm+w/ImUYOOzkS9jHgZSbsnjQb7f+fSzHXmsy6zNrdVnbOiqIrpXdQOSdMUtkKSQkqp/CX04idsJTEMF8uekBgxLwbM2Ji0hiKFZo0wmS8OyDC49WSaSW0b9Di7u2ogDvX4IqNg3c4yBHVUT0ZMjQ0NnkjGjaNxqyxmiH/ymzny6wGFgKcNjUvAqoOiFtfm7hNZoDy4eR88j3uY2GuCuI7kdxHJBpbAvfPRMlfRQIaVG8G9Pvxr4HUza6Bs50TRRrLyV0i+CJX3Z3SEjFwoqRGi/UPElZ13wo2q8JRo3xZiXH28+5veBCEgSe3HkKLJaupPp90/mTeecDwE2lcXgS8kK6xvZHtBvxP1nIgZ6FxxQaMihyG9znJIcm8TJ3G/2r4xWIT7WzL/Rb4zGDbUAfw+gQT2sy74qgD4y5aPZ3AuK/eONgp0Jo0gmGozZUjlgJ++d2oLAAuhHNXIZoVeWclv+7EeSKxP3StjSFDQ4ceoSWsgofgCngEvvMmxpwtEfMqEP6lcLwTC6DHzhw58Oe x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0402MB3853.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(52536014)(38070700005)(508600001)(5660300002)(6916009)(8936002)(91956017)(9686003)(55016003)(6506007)(71200400001)(316002)(7696005)(30864003)(966005)(122000001)(38100700002)(2906002)(86362001)(186003)(26005)(66476007)(66556008)(64756008)(66946007)(66446008)(33656002)(19627405001)(83380400001)(8676002)(76116006)(460985005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?uSwvFRmYSh9IJphM3moJeIDMT2Zx0I9U/e2L8eGYLQbIQ4ZNQfSDgkizAL?= =?iso-8859-1?Q?1i4DZeRhoJucyALliiRUvkjqSWiSka5o/KpCCr0fnBKu7J/XSw/9MSMxwz?= =?iso-8859-1?Q?xuMdg8fWP0q2bqz39N8C66bHuGUaaPqDiHi49fvsMwhSXslHlvzoaxBaCM?= =?iso-8859-1?Q?3L1Rv9BZLdqjpK8KQ6uoS1TKjXTNDF9e9YlNVB/nVR9K2uxb4FKis1BXa9?= =?iso-8859-1?Q?zvMFhofoUbJdT+w3uctVisUW677pq5BZG588e/mSsaMmEgG6DuLRZfsISj?= =?iso-8859-1?Q?r5RaRNSxMA8KANvNUSFH2gmhthSLtg6iiNN8B2IRcQdp9BeU1EoJVRjXpJ?= =?iso-8859-1?Q?qQC9O2zb/4Ek3Qgd4KQyryxrAFpdqF4o8NQOPH/1HX5p6F3//bC6rD51Uh?= =?iso-8859-1?Q?CwWdzzNPuCuGQq5bE+Vl82yarYFyre/b0CphLCvLQoPvU39SbWMOxAH/NC?= =?iso-8859-1?Q?GzGwE0YeBEDf8xZhtSMujeil4EWaTR5bNQS7ASvLIFPgaP7OeaQs6zBA3n?= =?iso-8859-1?Q?CD9pfVLa8EpXMDJx73YcQw6as7yUkpnWntm3d2h5tITxFnoRTm75p5TChN?= =?iso-8859-1?Q?jfKOuF2xeKnR3ym1KkR9FTKBg+rLn6P3KzEtc3TZp053swXz2UZZLQ+DGO?= =?iso-8859-1?Q?NNvXl3hbWH41GM7MsNJ7xOjE5NhZvq1Z04ucGVbCIV0+ct2RhiixXGdntR?= =?iso-8859-1?Q?4WeW2BZEKVpWqQzDGyMnhbsbgYUvGNz/0sJOZALOPIyS6+M9LbGD+qKESP?= =?iso-8859-1?Q?i228c0ARNuRqz0rvVJuG7aXioK9MP/u8V4l7dNJeGgHF70S7JBgs1qv+wh?= =?iso-8859-1?Q?b/1AWZO39KeCz1u/jD5SULBegoO7KqJFij4I/CzvLlnaqMZ8m9K81UidKU?= =?iso-8859-1?Q?ev6PSHaW7OzI6f89SgNj8jn5nu1px2h6ywA3T55qsIVVyoFV5YTayOxO+k?= =?iso-8859-1?Q?wFKF3l3QPG6CxLP8BGHn8x1ANNAJ5QJ+XT2UyzjEiWjkyBpkde9R8rUstX?= =?iso-8859-1?Q?ZWcZi493mRM8dwiJ9U6CNM0I9tyhdO+OPLsoZxTRpvUVoyEEMJrUhn2t+w?= =?iso-8859-1?Q?fbV0DnL4DB02r4+s+U0lJgQxwzKm6hs+J44XWujSlrlpujz3HI3g+RLt53?= =?iso-8859-1?Q?Qh9fmmbrs4nTuj4oSPxJ+ztBpSzOOt52xoIPFdPef9fE8FnVGBUt1w0EBs?= =?iso-8859-1?Q?fooMO/0g4/UCnZcDnYPx+FsCnllUlGaFx455dz2xmgW9WMzwoQ5tg7wDJz?= =?iso-8859-1?Q?BJeu9RuRdWfJf4bsr81mojynCp6gKaPHKHtit+60eiBfMKiunwUC3fGnE0?= =?iso-8859-1?Q?1sRX5rLY9zNndcDn9nx0RV6V+eOv9cYBU0kgxnTKs+4kgXf0ug+yC+GHjF?= =?iso-8859-1?Q?o356pNcbo1CYrFPCPudLewbJBnML1rVNRG0wj/fjKOOBlsjXoe8TBZNGpo?= =?iso-8859-1?Q?BNiT7bmf83t1B6CXS8eCGFzqWziokmNkXYAt4hx8iEP3gX3Nbl6aQYWgds?= =?iso-8859-1?Q?mUMBXOI9c5lDroHylb8QoQ/JIztBTpeQdrp2KlWgPHFGRXMQVH5XNHEATZ?= =?iso-8859-1?Q?UiaDz/hzb+jdAHuguzqa1jjlXlXfsTER8ymqsdq2zt1it7CPMt5QmIs8vy?= =?iso-8859-1?Q?D9LRIWj22BXx0ArMSF7EvJJyUCikcHdMHboBqwl92A3kHy/VWMJeZ0Vg?= =?iso-8859-1?Q?=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: werfen.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3853.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61cdcfa9-3ccf-4c4e-f71e-08d9d458f3a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2022 16:47:55.8870 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6f1611d6-8df7-4fdd-a3ab-ebb1fc59a4ce X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /5Cg98eXh7lBk1m4RnAmIfgVRoszTofq85FGGCxWUKJPIhhEs9uHImkzo7kxobDQaaLPy4tJJ4St8i5whyccDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2272 X-Smtpcorp-Track: 1n6xpvg2I589Om.3NuA34TQ3WrIx Feedback-ID: 255983m:255983aPexPTM:255983sw4Q-IzU4K X-Report-Abuse: Please forward a copy of this message, including all headers, to X-Spam-Status: No, score=-14.8 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 10 Jan 2022 16:48:07 -0000 I would appreciate insight on a compilation error while building GCC 11 to = run on Windows, targeting bare metal ARM, from a GNU/Linux build environmen= t (specifically Ubuntu via WSL2). I have a current (within a few days) clone of the Git repo at the HEAD of r= eleases/gcc-11. *** Source tree: $ git status On branch releases/gcc-11 Your branch is up to date with 'origin/releases/gcc-11'. *** Build environment: $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper OFFLOAD_TARGET_NAMES=3Dnvptx-none:hsa OFFLOAD_TARGET_DEFAULT=3D1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 9.3.0-17ub= untu1~20.04' --with-bugurl=3Dfile:///usr/share/doc/gcc-9/README.Bugs --enab= le-languages=3Dc,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=3D/usr= --with-gcc-major-version-only --program-suffix=3D-9 --program-prefix=3Dx86= _64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=3D/usr= /lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/li= b --enable-nls --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-lib= stdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-ob= ject --disable-vtable-verify --enable-plugin --enable-default-pie --with-sy= stem-zlib --with-target-system-zlib=3Dauto --enable-objc-gc=3Dauto --enable= -multiarch --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-m= ultilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enabl= e-offload-targets=3Dnvptx-none=3D/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp= -nvptx/usr,hsa --without-cuda-driver --enable-checking=3Drelease --build=3D= x86_64-linux-gnu --host=3Dx86_64-linux-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) For better or worse, I'm using GNU Make to drive the build process from the= next level up from the GCC source tree, i.e. my Make is calling $(MAKE) to= invoke the GCC build. Extracting the recipe steps, here is how I'm attempt= ing to build GCC: Recipe steps: # Obtain GCC source for the release branch of interest. # # "If you do not intend to make changes to the source, you can avoid instal= ling these build tools by running contrib/gcc_update." # https://gcc.gnu.org/git.html git clone --branch releases/gcc-11 --depth 1 git://gcc.gnu.org/git/gcc.git = $(COMPILER_ROOT)/gcc cd $(COMPILER_ROOT)/gcc && contrib/gcc_update # "If you also intend to build binutils (either to upgrade an existing inst= allation or for use in place of the corresponding tools of your OS), unpack= the binutils distribution ... in the same directory..." # https://gcc.gnu.org/install/download.html # https://www.gnu.org/software/binutils/ git clone --branch binutils-2_37 --depth 1 git://sourceware.org/git/binutil= s-gdb.git $(COMPILER_ROOT)/gcc/binutils # "Likewise the GMP, MPFR and MPC libraries can be automatically built toge= ther with GCC. You may simply run the contrib/download_prerequisites script= in the GCC source directory to set up everything." cd $(COMPILER_ROOT)/gcc && contrib/download_prerequisites # Configuration # https://gcc.gnu.org/install/configure.html # # "The build machine is the system which you are using, the host machine is= the system where you want to run the resulting compiler (normally the buil= d machine), and the target machine is the system for which you want the com= piler to generate code." # We're going to use WSL + Ubuntu + GCC to build a toolchain to run on Wind= ows targeting ARM. cd $(COMPILER_ROOT)/build && $(COMPILER_ROOT)/gcc/configure --host=3Dx86_64= -w64-mingw32 --target=3Darm-none-eabi --prefix=3D${TOOLCHAIN_ROOT} --enable= -vtable-verify --with-multilib-list=3Daprofile,rmprofile --enable-target-op= tspace --enable-languages=3Dc,c++,lto --enable-large-address-aware # Build the cross-compiler # https://gcc.gnu.org/install/build.html $(MAKE) -C $(COMPILER_ROOT)/build I have made one change to a config script to get as far as I have: $ git diff -- config/mh-mingw diff --git a/config/mh-mingw b/config/mh-mingw index e91367a71..a25d9dfd0 100644 --- a/config/mh-mingw +++ b/config/mh-mingw @@ -11,5 +11,5 @@ STAGE4_CXXFLAGS +=3D -D__USE_MINGW_ACCESS # Increase stack limit to a figure based on the Linux default, with 4MB ad= ded # as GCC turns out to need that much more to pass all the limits-* tests. -LDFLAGS +=3D -Wl,--stack,12582912 -BOOT_LDFLAGS +=3D -Wl,--stack,12582912 +#LDFLAGS +=3D -Wl,--stack,12582912 +#BOOT_LDFLAGS +=3D -Wl,--stack,12582912 I commented out those flags because they are not recognized by GCC 9 on Lin= ux as the toolchain building the compiler. I think these flags are only nee= ded for a compiler that is actually running on Windows, which I am NOT doin= g; I am building a compiler FOR Windows. When I encountered another error, and another beyond that, I concluded that= I must be making an error myself, because I doubt that a released version = of GCC would have multiple errors with respect to cross compilers. Here is the tail end of the build output I see leading up to the error: mv -f Tlto-wrapper.exe lto-wrapper.exe x86_64-w64-mingw32-g++ -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=3D\"../../= ../\" -DSTANDARD_EXEC_PREFIX=3D\"/home/tsobczynski/toolchain/lib/gcc/\" -DS= TANDARD_LIBEXEC_PREFIX=3D\"/home/tsobczynski/toolchain/libexec/gcc/\" -DDEF= AULT_TARGET_VERSION=3D\"11.2.1\" -DDEFAULT_REAL_TARGET_MACHINE=3D\"arm-none= -eabi\" -DDEFAULT_TARGET_MACHINE=3D\"arm-none-eabi\" -DSTANDARD_BINDIR_PREF= IX=3D\"/home/tsobczynski/toolchain/bin/\" -DTOOLDIR_BASE_PREFIX=3D\"../../.= ./../\" -DACCEL_DIR_SUFFIX=3D\"\" -DCONFIGURE_SPECS=3D"\"\"" -DTOOL_INCLU= DE_DIR=3D\"/home/tsobczynski/toolchain/lib/gcc/arm-none-eabi/11.2.1/../../.= ./../arm-none-eabi/include\" -DNATIVE_SYSTEM_HEADER_DIR=3D\"/usr/include\" = -DTARGET_MACHINE=3D\"arm-none-eabi\" -DPERSONALITY=3D\"ar\" -g -O2 -D__USE_= MINGW_ACCESS -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-r= tti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -W= cast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-lo= ng-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. = -I. -I/home/tsobczynski/Compiler/gcc/gcc -I/home/tsobczynski/Compiler/gcc/g= cc/. -I/home/tsobczynski/Compiler/gcc/gcc/../include -I./../intl -I/home/ts= obczynski/Compiler/gcc/gcc/../libcpp/include -I/home/tsobczynski/Compiler/g= cc/gcc/../libcody -I/home/tsobczynski/Compiler/build/./gmp -I/home/tsobczyn= ski/Compiler/gcc/gmp -I/home/tsobczynski/Compiler/build/./mpfr/src -I/home/= tsobczynski/Compiler/gcc/mpfr/src -I/home/tsobczynski/Compiler/gcc/mpc/src = -I/home/tsobczynski/Compiler/gcc/gcc/../libdecnumber -I/home/tsobczynski/C= ompiler/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/tsobczynski/C= ompiler/gcc/gcc/../libbacktrace -I/home/tsobczynski/Compiler/build/./isl/in= clude -I/home/tsobczynski/Compiler/gcc/isl/include -o gcc-ar.o -MT gcc-ar.= o -MMD -MP -MF ./.deps/gcc-ar.TPo /home/tsobczynski/Compiler/gcc/gcc/gcc-ar= .c x86_64-w64-mingw32-g++ -no-pie -g -O2 -D__USE_MINGW_ACCESS -DIN_GCC -DCR= OSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-t= ables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-= attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macro= s -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgc= c gcc-ar.o -o gcc-ar.exe \ file-find.o libcommon.a ../libcpp/libcpp.a ./../intl/libintl.a ../= libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/= libdecnumber.a cp /home/tsobczynski/Compiler/gcc/gcc/gcc-ar.c gcc-nm.c x86_64-w64-mingw32-g++ -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=3D\"../../= ../\" -DSTANDARD_EXEC_PREFIX=3D\"/home/tsobczynski/toolchain/lib/gcc/\" -DS= TANDARD_LIBEXEC_PREFIX=3D\"/home/tsobczynski/toolchain/libexec/gcc/\" -DDEF= AULT_TARGET_VERSION=3D\"11.2.1\" -DDEFAULT_REAL_TARGET_MACHINE=3D\"arm-none= -eabi\" -DDEFAULT_TARGET_MACHINE=3D\"arm-none-eabi\" -DSTANDARD_BINDIR_PREF= IX=3D\"/home/tsobczynski/toolchain/bin/\" -DTOOLDIR_BASE_PREFIX=3D\"../../.= ./../\" -DACCEL_DIR_SUFFIX=3D\"\" -DCONFIGURE_SPECS=3D"\"\"" -DTOOL_INCLU= DE_DIR=3D\"/home/tsobczynski/toolchain/lib/gcc/arm-none-eabi/11.2.1/../../.= ./../arm-none-eabi/include\" -DNATIVE_SYSTEM_HEADER_DIR=3D\"/usr/include\" = -DTARGET_MACHINE=3D\"arm-none-eabi\" -DPERSONALITY=3D\"nm\" -g -O2 -D__USE_= MINGW_ACCESS -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-r= tti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -W= cast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-lo= ng-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. = -I. -I/home/tsobczynski/Compiler/gcc/gcc -I/home/tsobczynski/Compiler/gcc/g= cc/. -I/home/tsobczynski/Compiler/gcc/gcc/../include -I./../intl -I/home/ts= obczynski/Compiler/gcc/gcc/../libcpp/include -I/home/tsobczynski/Compiler/g= cc/gcc/../libcody -I/home/tsobczynski/Compiler/build/./gmp -I/home/tsobczyn= ski/Compiler/gcc/gmp -I/home/tsobczynski/Compiler/build/./mpfr/src -I/home/= tsobczynski/Compiler/gcc/mpfr/src -I/home/tsobczynski/Compiler/gcc/mpc/src = -I/home/tsobczynski/Compiler/gcc/gcc/../libdecnumber -I/home/tsobczynski/C= ompiler/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/tsobczynski/C= ompiler/gcc/gcc/../libbacktrace -I/home/tsobczynski/Compiler/build/./isl/in= clude -I/home/tsobczynski/Compiler/gcc/isl/include -o gcc-nm.o -MT gcc-nm.= o -MMD -MP -MF ./.deps/gcc-nm.TPo gcc-nm.c x86_64-w64-mingw32-g++ -no-pie -g -O2 -D__USE_MINGW_ACCESS -DIN_GCC -DCR= OSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-t= ables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-= attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macro= s -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgc= c gcc-nm.o -o gcc-nm.exe \ file-find.o libcommon.a ../libcpp/libcpp.a ./../intl/libintl.a ../= libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/= libdecnumber.a cp /home/tsobczynski/Compiler/gcc/gcc/gcc-ar.c gcc-ranlib.c x86_64-w64-mingw32-g++ -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=3D\"../../= ../\" -DSTANDARD_EXEC_PREFIX=3D\"/home/tsobczynski/toolchain/lib/gcc/\" -DS= TANDARD_LIBEXEC_PREFIX=3D\"/home/tsobczynski/toolchain/libexec/gcc/\" -DDEF= AULT_TARGET_VERSION=3D\"11.2.1\" -DDEFAULT_REAL_TARGET_MACHINE=3D\"arm-none= -eabi\" -DDEFAULT_TARGET_MACHINE=3D\"arm-none-eabi\" -DSTANDARD_BINDIR_PREF= IX=3D\"/home/tsobczynski/toolchain/bin/\" -DTOOLDIR_BASE_PREFIX=3D\"../../.= ./../\" -DACCEL_DIR_SUFFIX=3D\"\" -DCONFIGURE_SPECS=3D"\"\"" -DTOOL_INCLU= DE_DIR=3D\"/home/tsobczynski/toolchain/lib/gcc/arm-none-eabi/11.2.1/../../.= ./../arm-none-eabi/include\" -DNATIVE_SYSTEM_HEADER_DIR=3D\"/usr/include\" = -DTARGET_MACHINE=3D\"arm-none-eabi\" -DPERSONALITY=3D\"ranlib\" -g -O2 -D__= USE_MINGW_ACCESS -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -f= no-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-string= s -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wn= o-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H = -I. -I. -I/home/tsobczynski/Compiler/gcc/gcc -I/home/tsobczynski/Compiler/g= cc/gcc/. -I/home/tsobczynski/Compiler/gcc/gcc/../include -I./../intl -I/hom= e/tsobczynski/Compiler/gcc/gcc/../libcpp/include -I/home/tsobczynski/Compil= er/gcc/gcc/../libcody -I/home/tsobczynski/Compiler/build/./gmp -I/home/tsob= czynski/Compiler/gcc/gmp -I/home/tsobczynski/Compiler/build/./mpfr/src -I/h= ome/tsobczynski/Compiler/gcc/mpfr/src -I/home/tsobczynski/Compiler/gcc/mpc/= src -I/home/tsobczynski/Compiler/gcc/gcc/../libdecnumber -I/home/tsobczyns= ki/Compiler/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/tsobczyns= ki/Compiler/gcc/gcc/../libbacktrace -I/home/tsobczynski/Compiler/build/./is= l/include -I/home/tsobczynski/Compiler/gcc/isl/include -o gcc-ranlib.o -MT= gcc-ranlib.o -MMD -MP -MF ./.deps/gcc-ranlib.TPo gcc-ranlib.c x86_64-w64-mingw32-g++ -no-pie -g -O2 -D__USE_MINGW_ACCESS -DIN_GCC -DCR= OSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-t= ables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-= attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macro= s -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgc= c gcc-ranlib.o -o gcc-ranlib.exe \ file-find.o libcommon.a ../libcpp/libcpp.a ./../intl/libintl.a ../= libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/= libdecnumber.a x86_64-w64-mingw32-g++ -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=3D\"../../= ../\" -DSTANDARD_EXEC_PREFIX=3D\"/home/tsobczynski/toolchain/lib/gcc/\" -DS= TANDARD_LIBEXEC_PREFIX=3D\"/home/tsobczynski/toolchain/libexec/gcc/\" -DDEF= AULT_TARGET_VERSION=3D\"11.2.1\" -DDEFAULT_REAL_TARGET_MACHINE=3D\"arm-none= -eabi\" -DDEFAULT_TARGET_MACHINE=3D\"arm-none-eabi\" -DSTANDARD_BINDIR_PREF= IX=3D\"/home/tsobczynski/toolchain/bin/\" -DTOOLDIR_BASE_PREFIX=3D\"../../.= ./../\" -DACCEL_DIR_SUFFIX=3D\"\" -DCONFIGURE_SPECS=3D"\"\"" -DTOOL_INCLU= DE_DIR=3D\"/home/tsobczynski/toolchain/lib/gcc/arm-none-eabi/11.2.1/../../.= ./../arm-none-eabi/include\" -DNATIVE_SYSTEM_HEADER_DIR=3D\"/usr/include\" = -DBASEVER=3D"\"11.2.1\"" -g -O2 -D__USE_MINGW_ACCESS -DIN_GCC -DCROSS_DIRE= CTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W= -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribut= e -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-o= verlength-strings -DHAVE_CONFIG_H -I. -I. -I/home/tsobczynski/Compiler/gc= c/gcc -I/home/tsobczynski/Compiler/gcc/gcc/. -I/home/tsobczynski/Compiler/g= cc/gcc/../include -I./../intl -I/home/tsobczynski/Compiler/gcc/gcc/../libcp= p/include -I/home/tsobczynski/Compiler/gcc/gcc/../libcody -I/home/tsobczyns= ki/Compiler/build/./gmp -I/home/tsobczynski/Compiler/gcc/gmp -I/home/tsobcz= ynski/Compiler/build/./mpfr/src -I/home/tsobczynski/Compiler/gcc/mpfr/src -= I/home/tsobczynski/Compiler/gcc/mpc/src -I/home/tsobczynski/Compiler/gcc/g= cc/../libdecnumber -I/home/tsobczynski/Compiler/gcc/gcc/../libdecnumber/dpd= -I../libdecnumber -I/home/tsobczynski/Compiler/gcc/gcc/../libbacktrace -I/= home/tsobczynski/Compiler/build/./isl/include -I/home/tsobczynski/Compiler/= gcc/isl/include -o gcc.o -MT gcc.o -MMD -MP -MF ./.deps/gcc.TPo /home/tsob= czynski/Compiler/gcc/gcc/gcc.c x86_64-w64-mingw32-g++ -fno-PIE -c -g -O2 -D__USE_MINGW_ACCESS -DIN_GCC = -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unw= ind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-fo= rmat-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-= macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/home/tsobczynsk= i/Compiler/gcc/gcc -I/home/tsobczynski/Compiler/gcc/gcc/. -I/home/tsobczyns= ki/Compiler/gcc/gcc/../include -I./../intl -I/home/tsobczynski/Compiler/gcc= /gcc/../libcpp/include -I/home/tsobczynski/Compiler/gcc/gcc/../libcody -I/h= ome/tsobczynski/Compiler/build/./gmp -I/home/tsobczynski/Compiler/gcc/gmp -= I/home/tsobczynski/Compiler/build/./mpfr/src -I/home/tsobczynski/Compiler/g= cc/mpfr/src -I/home/tsobczynski/Compiler/gcc/mpc/src -I/home/tsobczynski/C= ompiler/gcc/gcc/../libdecnumber -I/home/tsobczynski/Compiler/gcc/gcc/../lib= decnumber/dpd -I../libdecnumber -I/home/tsobczynski/Compiler/gcc/gcc/../lib= backtrace -I/home/tsobczynski/Compiler/build/./isl/include -I/home/tsobczyn= ski/Compiler/gcc/isl/include -o gcc-main.o -MT gcc-main.o -MMD -MP -MF ./.= deps/gcc-main.TPo /home/tsobczynski/Compiler/gcc/gcc/gcc-main.c x86_64-w64-mingw32-g++ -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=3D\"../../= ../\" -DSTANDARD_EXEC_PREFIX=3D\"/home/tsobczynski/toolchain/lib/gcc/\" -DS= TANDARD_LIBEXEC_PREFIX=3D\"/home/tsobczynski/toolchain/libexec/gcc/\" -DDEF= AULT_TARGET_VERSION=3D\"11.2.1\" -DDEFAULT_REAL_TARGET_MACHINE=3D\"arm-none= -eabi\" -DDEFAULT_TARGET_MACHINE=3D\"arm-none-eabi\" -DSTANDARD_BINDIR_PREF= IX=3D\"/home/tsobczynski/toolchain/bin/\" -DTOOLDIR_BASE_PREFIX=3D\"../../.= ./../\" -DACCEL_DIR_SUFFIX=3D\"\" -DCONFIGURE_SPECS=3D"\"\"" -DTOOL_INCLU= DE_DIR=3D\"/home/tsobczynski/toolchain/lib/gcc/arm-none-eabi/11.2.1/../../.= ./../arm-none-eabi/include\" -DNATIVE_SYSTEM_HEADER_DIR=3D\"/usr/include\" = -DIN_GCC_FRONTEND -g -O2 -D__USE_MINGW_ACCESS -DIN_GCC -DCROSS_DIRECTORY_S= TRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall = -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wove= rloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overleng= th-strings -DHAVE_CONFIG_H -I. -Ic -I/home/tsobczynski/Compiler/gcc/gcc -= I/home/tsobczynski/Compiler/gcc/gcc/c -I/home/tsobczynski/Compiler/gcc/gcc/= ../include -I./../intl -I/home/tsobczynski/Compiler/gcc/gcc/../libcpp/inclu= de -I/home/tsobczynski/Compiler/gcc/gcc/../libcody -I/home/tsobczynski/Comp= iler/build/./gmp -I/home/tsobczynski/Compiler/gcc/gmp -I/home/tsobczynski/C= ompiler/build/./mpfr/src -I/home/tsobczynski/Compiler/gcc/mpfr/src -I/home/= tsobczynski/Compiler/gcc/mpc/src -I/home/tsobczynski/Compiler/gcc/gcc/../l= ibdecnumber -I/home/tsobczynski/Compiler/gcc/gcc/../libdecnumber/dpd -I../l= ibdecnumber -I/home/tsobczynski/Compiler/gcc/gcc/../libbacktrace -I/home/ts= obczynski/Compiler/build/./isl/include -I/home/tsobczynski/Compiler/gcc/isl= /include -o c/gccspec.o -MT c/gccspec.o -MMD -MP -MF c/.deps/gccspec.TPo /= home/tsobczynski/Compiler/gcc/gcc/c/gccspec.c x86_64-w64-mingw32-g++ -fno-PIE -c -g -O2 -D__USE_MINGW_ACCESS -DIN_GCC = -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unw= ind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-fo= rmat-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-= macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/home/tsobczynsk= i/Compiler/gcc/gcc -I/home/tsobczynski/Compiler/gcc/gcc/. -I/home/tsobczyns= ki/Compiler/gcc/gcc/../include -I./../intl -I/home/tsobczynski/Compiler/gcc= /gcc/../libcpp/include -I/home/tsobczynski/Compiler/gcc/gcc/../libcody -I/h= ome/tsobczynski/Compiler/build/./gmp -I/home/tsobczynski/Compiler/gcc/gmp -= I/home/tsobczynski/Compiler/build/./mpfr/src -I/home/tsobczynski/Compiler/g= cc/mpfr/src -I/home/tsobczynski/Compiler/gcc/mpc/src -I/home/tsobczynski/C= ompiler/gcc/gcc/../libdecnumber -I/home/tsobczynski/Compiler/gcc/gcc/../lib= decnumber/dpd -I../libdecnumber -I/home/tsobczynski/Compiler/gcc/gcc/../lib= backtrace -I/home/tsobczynski/Compiler/build/./isl/include -I/home/tsobczyn= ski/Compiler/gcc/isl/include -I. -I. -I/home/tsobczynski/Compiler/gcc/gcc = -I/home/tsobczynski/Compiler/gcc/gcc/. -I/home/tsobczynski/Compiler/gcc/gcc= /../include -I./../intl -I/home/tsobczynski/Compiler/gcc/gcc/../libcpp/incl= ude -I/home/tsobczynski/Compiler/gcc/gcc/../libcody -I/home/tsobczynski/Com= piler/build/./gmp -I/home/tsobczynski/Compiler/gcc/gmp -I/home/tsobczynski/= Compiler/build/./mpfr/src -I/home/tsobczynski/Compiler/gcc/mpfr/src -I/home= /tsobczynski/Compiler/gcc/mpc/src -I/home/tsobczynski/Compiler/gcc/gcc/../= libdecnumber -I/home/tsobczynski/Compiler/gcc/gcc/../libdecnumber/dpd -I../= libdecnumber -I/home/tsobczynski/Compiler/gcc/gcc/../libbacktrace -I/home/t= sobczynski/Compiler/build/./isl/include -I/home/tsobczynski/Compiler/gcc/is= l/include /home/tsobczynski/Compiler/gcc/gcc/config/i386/driver-mingw32.c x86_64-w64-mingw32-g++ -no-pie -g -O2 -D__USE_MINGW_ACCESS -DIN_GCC -DCR= OSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-t= ables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-= attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macro= s -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgc= c -o xgcc.exe gcc.o gcc-main.o ggc-none.o \ c/gccspec.o driver-mingw32.o libcommon-target.a \ libcommon.a ../libcpp/libcpp.a ./../intl/libintl.a ../libbacktrace/.lib= s/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a cp xgcc.exe gcc-cross.exe x86_64-w64-mingw32-g++ -fno-PIE -c -g -O2 -D__USE_MINGW_ACCESS -DIN_GCC = -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unw= ind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-fo= rmat-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-= macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ic-family -I/home/tso= bczynski/Compiler/gcc/gcc -I/home/tsobczynski/Compiler/gcc/gcc/c-family -I/= home/tsobczynski/Compiler/gcc/gcc/../include -I./../intl -I/home/tsobczynsk= i/Compiler/gcc/gcc/../libcpp/include -I/home/tsobczynski/Compiler/gcc/gcc/.= ./libcody -I/home/tsobczynski/Compiler/build/./gmp -I/home/tsobczynski/Comp= iler/gcc/gmp -I/home/tsobczynski/Compiler/build/./mpfr/src -I/home/tsobczyn= ski/Compiler/gcc/mpfr/src -I/home/tsobczynski/Compiler/gcc/mpc/src -I/home= /tsobczynski/Compiler/gcc/gcc/../libdecnumber -I/home/tsobczynski/Compiler/= gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/tsobczynski/Compiler/= gcc/gcc/../libbacktrace -I/home/tsobczynski/Compiler/build/./isl/include -I= /home/tsobczynski/Compiler/gcc/isl/include -o c-family/cppspec.o -MT c-fam= ily/cppspec.o -MMD -MP -MF c-family/.deps/cppspec.TPo /home/tsobczynski/Com= piler/gcc/gcc/c-family/cppspec.c x86_64-w64-mingw32-g++ -no-pie -g -O2 -D__USE_MINGW_ACCESS -DIN_GCC -DCR= OSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-t= ables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-= attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macro= s -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgc= c -o cpp.exe gcc.o gcc-main.o ggc-none.o \ c-family/cppspec.o driver-mingw32.o libcommon-target.a \ libcommon.a ../libcpp/libcpp.a ./../intl/libintl.a ../libbacktrace/.lib= s/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a arm-none-eabi-gcc -dumpspecs > tmp-specs /bin/bash: arm-none-eabi-gcc: command not found make[3]: *** [Makefile:2165: specs] Error 127 make[3]: Leaving directory '/home/tsobczynski/Compiler/build/gcc' make[2]: *** [Makefile:4458: all-gcc] Error 2 make[2]: Leaving directory '/home/tsobczynski/Compiler/build' make[1]: *** [Makefile:983: all] Error 2 make[1]: Leaving directory '/home/tsobczynski/Compiler/build' make: *** [Makefile:53: /home/tsobczynski/Compiler/build/foo] Error 2 Granting that I am proceeding from a position of ignorance, I am not expect= ing an attempted invocation of "arm-none-eabi-gcc". My reasoning is that th= e build process is taking place on GNU/Linux, while "arm-none-eabi-gcc" is = the name I expect for one of the compiler executables that will run on Wind= ows. Just prior to the error, the GCC build copies xgcc.exe to gcc-cross.ex= e, which I presume is the compiler executable that will ultimately correspo= nd to "arm-none-eabi-gcc.exe". Because I don't know what I don't know here, I don't have a crisp question,= except perhaps: where am I going astray in my thinking and/or build steps = for the goal I'm trying to attain? Did I already go off the right track whe= n I modified the config file earlier in the process? Thanks, Tom