From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic305-19.consmr.mail.ir2.yahoo.com (sonic305-19.consmr.mail.ir2.yahoo.com [77.238.177.81]) by sourceware.org (Postfix) with ESMTPS id 10CFE3858D31 for ; Mon, 20 Apr 2020 08:27:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 10CFE3858D31 X-YMail-OSG: vdsJtroVM1kYDy1.X88wH8OFL_OQ0F_PETctgnDEcINFRs.aPExlaGL0jvy8Eym .CRSCEPiHEUMaVqrlnYt31tuA_M8BjLsKugBIhSUXG6QdIir.qhXTDzZKhYuElj6BMHh7sNvBMlx aGckyBfeYCleum7coVAoT2x7qwlp1gIi_Fy55ev4o1M5JD5mJPs0u4IcIYNbGWa6eYDj3w2hOwTv A.B6o0N6quG2zWeGacky_GruY.wbHLS4hhn6ApV5UxXIRym4xlFwxDhmB948FUAKn7xJDo9qMV9y ecbx49ApnpF0byNN7AuShBuiVdYhlNKwYk2MC5iKTnEBj1Aiu29piIJ7ZriXK_8jWBeux6K3Hc8b MhQUMLrNAPv0nIUmO6deSnIBZ4I6AL3kHmqTv5aGlU6z6DFogD0j83pSp2NvLM99CG4i1NQlaRka Hhf2oN7cnOYgRM2cyUESkz0EeGqFoay1uxH.1ICABLLBitwKS5jPxfOoZ4flJbr762_D5zwM.TpG iDWczB.ODTGR4rNtuomeVwnSyLOmwcq5nh0bDiiPIMem2FqntdoQVhprC3pWyB4HA36CVBXg7RFT ZBT2qfuJL4Kyyu8zVwxTR8_mz2etXch73lBy.NCWJxgMcHHvkdPKkkf9DPTvJmE9jYX6BmLSiFv6 lDaPZ6disHfEF9udr619396fbo5yuWNufg7upudncmd0ZrHHnmEm.Ny4wPvnbVjIOwBIkm8hT67A JGxTGZrUizJl2F93OjmyEJnwwT8A8YnNQNv35zCS7ZbG2seBorjzX8b_65KUtYf4n0qonI4d_Bu8 HJe.Hzrj6xlnQfYeG0e19ZCjchpfYOjPtHSmxMt9HiSmxwey9hax1s7IbhkTHmuJ8rds1BA6vFUe hMv7cn7qmO_noCKXlLVYBFi29L0bMRxx6Ug1AwDwJ2.e2eHxzd50qBAs.rpxIE63QR_U65bI5GWA Ea.inLBwBLyPqSTNU3ONcG7Ck5B3cj5OKyaNfWntoqKZ.yxh5voO6ar36yBAj_DZgvTRFRQtWy4B MIXWyylqzHSrsXSTYFuvPggeXO6B.i.SdYz.ZBfkmEEHxxzr_h3d6O7j9.bSkdUtMRwqbZnCtlnS 1uosK0YtxfiuzCQomQcPgBWk_9iLANQDfPwBRX8NmwS.mKVpjWDQBNMaaqeKRKBdYmW7PqMHC3rv 6ZpGKVI7rILkRzSBCZTFn296CjIV5aoafumTc7__WaniBFRWvOBF57w5XSoFaOjrguy1YG6ZTrn2 CuaVUsP_Acox0adKWVro.dH3780n3NpVLYzUFcrjzDDzG4pbD49diGN9eoA6.fGlRB26oj2rYeh1 kbiU0F5XuttUqG6YtmMMmn.jWhBqZYxCvpEd4UWCyfdPe2d0- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Mon, 20 Apr 2020 08:27:29 +0000 Date: Mon, 20 Apr 2020 08:27:29 +0000 (UTC) From: "R. Diez" To: "jwakely.gcc@gmail.com" Cc: "gcc-help@gcc.gnu.org" Message-ID: <590749852.1515706.1587371249089@mail.yahoo.com> Subject: Re: Specifying where Binutils is and what it is called MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <590749852.1515706.1587371249089.ref@mail.yahoo.com> X-Mailer: WebService/1.1.15723 YMailNorrin Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0 X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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: 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, 20 Apr 2020 08:27:32 -0000 > That seems like an unnecessary worry. Why would the > phase 1 compiler install *more* than the final one? That is a very bold claim to make. GCC is a complex beast. Are you sure abo= ut that? Is there any test case for it? How about in the future? What if on= ly need the C compiler to build Newlib, but the final toolchain only needs = the C++ compiler, in order to reduce the total toolchain build time and sav= e space in my final container? Installing the phase 1 GCC into a separate, temporary bin directory is a cl= ean solution, and I think it is a reasonable goal to pursue. In any case, I think the answers to the following questions are still inter= esting to know, as they may apply to other scenarios too: 1) Is there a way to convince GCC to find the Binutils with their full name= s (like arm-none-eabi-ar) in the PATH or with --with-build-time-tools=3D/so= me/dir , instead of just short names like "ar"? 2) Are --with-as and --with-ld always risky in this scenario, because of ot= her tools like objdump, given that GCC's own documentation warns about an i= nconsistent set of Binutils? Regards, =C2=A0 rdiez