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=tzwi4/PQugi+dLROq1fj1cfdo8w6sIfYKAkNrSSIbhM=; b=sAhT9vfRN3GJ K/cWCeG+0k/+T+b0Uej4/buSA/fPXUhQTsYNesDiCo+7yQA1/Ow5HVsJFR5/pT25L3bWyVj5hmjl6 96M65kfCXZb+KXu+Ak/NXJo0QamJxxugQInNe2cEM+0fSN8DHzN157gSIChW+KlvweiOXN/NB12uX Ll1C0dbaXRztf1O6epklBe53jOEuiJNoQHF7oxB43FOBc586zMTpv4zAEGPGGp62hCvbbpPPGcymp PT3zD0V991Z95Dr+m4XeiVRDagzBbGfv6U4FMHnL8S6ig4Z/asW5ynajXgJ3DdSMNx199rs9Eb2Sh OeJT5Rt7rkOGtv/k3yQIvg==; Date: Sat, 28 Jan 2023 11:28:03 +0200 Message-Id: <83y1pn9ffg.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: <3b8f674c-bca3-c679-952e-f8ba5af196e7 AT gmail DOT com> <500850be-fd64-3f82-a1e1-929903084e9b AT gmail DOT com> <3d9271ae-266d-ee7b-853b-984857ced1c8 AT gmail DOT com> <83sffvbux1 DOT fsf AT gnu DOT org> <82cff092-6dfe-1dfc-7946-cdb84c44e11b AT gmail DOT com> <114b292b-7f6c-3b19-7e9a-88a261ee063a AT gmail DOT com> <83h6wbayya DOT fsf AT gnu DOT org> <834jsbavcp DOT fsf AT gnu DOT org> Reply-To: djgpp AT delorie DOT com > From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" > Date: Sat, 28 Jan 2023 12:12:50 +0300 > > On 1/28/23, Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com] > wrote: > >> From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" > >> > >> Date: Sat, 28 Jan 2023 11:07:07 +0300 > >> > >> This can be a show stopper, so I _can_ revert the whole patch: The > >> patch was made for the whole purpose of dxe3gen finding -lgcc (and > >> -lstdc++) automatically in the first place, and one can just do the > >> manual labor of copying them to $(DJDIR)/lib easily (a documentation > >> about it from someone would be nice.) > > > > Having "-L$(DJDIR)/lib" and using GCC to find the standard libraries > > are not contradicting goals, are they? The -L switch just says "look > > in that directory as well", it doesn't replace the standard > > directories. > > Well, try doing the following horrible -L : > -L/usr/local/cross-djgpp/lib/gcc/i586-pc-msdosdjgpp/3.4.6 > > because, unlike libc.a, libgcc.a isn't under $(DJDIR)/lib > at least not in cross- environments -- really do not know > about a native installation. That was the original issue. OK, but still: there should be no problem with having both on the command line, right?