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; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=fdm6bk9ArgOQInkXnSOWrJjVcfol6zWZojwDqLbYwRc=; b=FsV4iypAK2zY h7zdsVbh6v9BJW4KGJiIEtodG8ZvyPsu//yB5Ah6LdwjrmMulLQf04FpkNDaE7YUbHI6BpmNEToA4 5T+TJ6Zx8MA7TeVwt+WAbfTPjjrtL1xQemuUXdrfUfeiolXQr1uJcBZ/CVRVGaF9znLaI3zM+EDAr dK2Bu3xeEK2wTp1yPHPjp9joKH4Skxg+qID+Q1W8Txf4BEfNWb3OJkDygOJn+ThrNLFJ9n4waDKqp ojflMnXJhC4SkmmI6JFccStCaUnZhT0FdbX+CJYbC8oUf81RoBmVYsnFcDrBKMez723qJxoQNoxqM fnkfg3a/5yD0v6tjZOLcyw==; Date: Sat, 28 Jan 2023 21:57:30 +0200 Message-Id: <83y1pm8mad.fsf@gnu.org> From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" To: djgpp AT delorie DOT com In-Reply-To: (djgpp AT delorie DOT com) Subject: Re: DXE3 with std::vector References: <83mt63azwi DOT fsf AT gnu DOT org> <835ycravjo DOT fsf AT gnu DOT org> <83zga39fil DOT fsf AT gnu DOT org> <83v8kr9bye DOT fsf AT gnu DOT org> <83lelmakwk DOT fsf AT gnu DOT org> <83h6waaium DOT fsf AT gnu DOT org> <83fsbuahj9 DOT fsf AT gnu DOT org> <673bbaa0-5a0d-25be-1f1b-724856ee4f0b AT gmail DOT com> <835ycqa809 DOT fsf AT gnu DOT org> 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 > Date: Sat, 28 Jan 2023 19:09:56 +0100 > From: "J.W. Jagersma (jwjagersma AT gmail DOT com) [via djgpp AT delorie DOT com]" > > > Are there any fundamental problems that would preclude invoking GCC > > instead of ld (so that your case is supported), but still have the -L > > switch added to the GCC command line, whose argument is derived from > > DXE_LD_LIBRARY_PATH or from DJDIR if those are set? IOW, can we have > > the code work as you wanted when these two variables aren't set, but > > add the additional -L switch when they are? > > Sure, that should be possible. Starting from the patch I submitted earlier, > simply adding DXE_LD_LIBRARY_PATH via -L will achieve that. Good. > For DJDIR, again, having it set to anything other than the djgpp install > location is *always* user error. Many things rely on this, and to me it > doesn't seem very useful to support invalid configurations in dxe3gen. Once again: adding one more -L switch to a compiler command line cannot possibly do any harm.