X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=l1u4b/bQAJhTly044jJKUvblBT8lHy9TId7LRDkHEjk=; b=EfLAoDuWkCoFE61jZpwYvZn48kRm9ByHu9UhXH9Vcx9mqYhEtOaf2acvTe12uZDLrg J+mZCWzRhnFPOetn+J/v3hBg5wjQKA9U518Zxv6QdW7WykZJJ5jbkRnHV1biBHL2mzyj 8RX7O+FvHbUTuIqoHtV25fmteUJgJn2lI1DWTjdbFuDf5IOH52RvlyxvZ17NHvEiL+/V gH65Z2MYf7Kx0v1tQR63rKN/Er6gsbqkthLcyqQZDZatS9IjH7V+F6x8fx2NILPtwJ2i 1GwEXYf7vC2l42fk3ReBP6dNHAqFesI3JWVxZZ69CnMd+6MtrstYjrP5AssNCho+Y9Vp O8TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=l1u4b/bQAJhTly044jJKUvblBT8lHy9TId7LRDkHEjk=; b=PCI4LpQziT1c6MVaF73y85AcEZMwbktlLpfkYT9GXFoseuclbptXw/LooenxXSPIzw R2GR/G6CZuj3fkPzJFE1MIoOBaVbeeoUdR1fu24k0i8krAY+nVWJmjeymRESd6pD8JxP Er50iQordf+VHAD01dixSSmsE+uiWm3teOsCaoHHNYL6CJbOUyvYEp7Omzqdx5OCKRE8 IfCjCI7G6xI5k+F+p3DHMhfbDV+dkJ1wOMdyRnCUYv96mz+mGtCpEKQ4PkNbWrXLqCRD Vdz2kmy84ZtzirMQwPqMXmYm5z0GE/UqDhXqLkWkq/TMAOXX3lt2hfDGgXRhTAIdYojs lvPA== X-Gm-Message-State: AFqh2kqrHFiS8Pd2x8fzz9IZhdZgbtBie/GCtyRHDUAcmJCBzfEgHTsu F57yVwmXpOOaSrZ0dlbeB2IjFSzmpPyUf4s4we0UlspP X-Google-Smtp-Source: AMrXdXv72AFUKMSsAFl9Q6Me6hVutbdScM1cc7MOKuyb8H4vf18cBQneMmgg/a5+1qfrK+w5EagngmJjPw7fHQzqkhE= X-Received: by 2002:a05:600c:1d25:b0:3da:fa8a:8511 with SMTP id l37-20020a05600c1d2500b003dafa8a8511mr2909657wms.185.1675088225530; Mon, 30 Jan 2023 06:17:05 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <83o7qg5hah.fsf@gnu.org> References: <83r0vd78cu DOT fsf AT gnu DOT org> <83o7qh74td DOT fsf AT gnu DOT org> <83o7qg5hah DOT fsf AT gnu DOT org> From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" Date: Mon, 30 Jan 2023 17:17:04 +0300 Message-ID: Subject: Re: [PATCH v3] dxe3gen: invoke ld/as via gcc To: djgpp AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 1/30/23, Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com] wrote: >> The only downside to your patch is that older gcc versions have a >> problem handling -T on their command line, which is why I had gone >> back. I don't have a solution for that, buit I honestly haven't >> tried very much. >> >> Eli, DJ: What do you guys think? > > How serious is the issue with the linker script? Is that a problem > only for GCC 2.95? As I had said, I only tested with gcc-3.4.6 (cross- under i686-linux) and 2.95 (native under dosbox). Gcc versions 4.x and newer _should_ be OK. Don't know how gcc 3.0.x, 3.1.x, 3.2.x, and 3.3.x behave. EDIT: I now tested 3.3.6 and 8.2.0, both cross- under i686-linux, and they both work OK with JW's patch. I now do not know the behavior of only gcc 3.0.x, 3.1.x and 3.2.x, and possibly they are not worth much to worry about. > If so, I'm okay with using GCC and documenting > that 2.95 is no longer supported for this purpose. OK then, no objections from me. Feel free to apply the patch.