www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2023/01/28/05:49:06

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=Cf5uxSNNhPfCyZWQ7FPXzJnSVpHUhFi2i0bu1pvAe78=; b=kPjQdK/zZKQ9
zp7nh8jDiFZilJurp8+lOKMzf1ywDQhPotRd4Y0az+Uj+MOxwSpa7XUdtCfS/+CONMTuBYpg+BkOx
5UxKh9JejccHqgsSrWxKQuNly2uAI//kXpO3fd2K9jw81KSHFSuCPaHXO8+eOLP8nTGlYkhIxMSPb
hCHDvBTLV7msT6lReEPm5Pu5JZIk1cBRgDm6NHDa8xxptCfuYMEyPwWUpuQR3p7oDYGwfCzjjMWXJ
qHkra8csF+SxYtayBr4ew4pcddb96od3vv2CqSfqWxCVCoq36PLoOR141MLUDNRN874O7jVUipI9c
oXJ53Dm/ASp09HYXaRIcmA==;
Date: Sat, 28 Jan 2023 12:45:47 +0200
Message-Id: <83tu0b9btw.fsf@gnu.org>
From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
In-Reply-To:
<CAA2C=vCO6Pbt4igByu43v30VRboJqrDrF547_+=poJ-vX6f+Mg AT mail DOT gmail DOT com>
(djgpp AT delorie DOT com)
Subject: Re: DXE3 with std::vector
References: <edefcfee-d1ce-415a-8d1d-525a660fb0d5n AT googlegroups DOT com>
<CAA2C=vDPwv5G9DeFKyKFqt39cDDmO4LmDtbtMyoMdRR2xeEkow AT mail DOT gmail DOT com>
<3b8f674c-bca3-c679-952e-f8ba5af196e7 AT gmail DOT com> <CAA2C=vBptnTAy2TA-pj5JCbAUJMiXkAAoP_xYFZZJ99iB7v9mQ AT mail DOT gmail DOT com>
<500850be-fd64-3f82-a1e1-929903084e9b AT gmail DOT com> <CAA2C=vA0zXX3Sb49WBzU5g1-8dmO5G5wrb3uT+tLRq2LB0wu5Q AT mail DOT gmail DOT com>
<3d9271ae-266d-ee7b-853b-984857ced1c8 AT gmail DOT com> <CAA2C=vD6sZpTicPh0xuJ16r76qBZ5BZro6x=9+=Z+P-0f_eRSA AT mail DOT gmail DOT com>
<f04cd9db-fe76-219c-bacb-47711df559e2 AT gmail DOT com> <CAA2C=vCv_bpM+iinTcreMJD_gv34Rna3jLspiLFfESFuNxOtoA AT mail DOT gmail DOT com>
<af7fa08a-b074-0a4c-5e2f-99299940e3cc AT gmail DOT com> <CAA2C=vB22rof4HPV_dVPy4tVmsmeDMy4G4r2Vx-_YLwOW6C9ug AT mail DOT gmail DOT com>
<bbdf1853-5454-93b2-fcf9-2306c6949c86 AT gmail DOT com> <CAA2C=vBDi8gwhVVacnhnP+eufCkMNK4DancpOjnD7ScOWCEF6g AT mail DOT gmail DOT com>
<83sffvbux1 DOT fsf AT gnu DOT org> <82cff092-6dfe-1dfc-7946-cdb84c44e11b AT gmail DOT com>
<CAA2C=vA-Va7sac2nZX189eweKVCQ1zGAPnQ6T6Yi-noYX-ioZQ AT mail DOT gmail DOT com>
<114b292b-7f6c-3b19-7e9a-88a261ee063a AT gmail DOT com> <CAA2C=vBgDTbmev6fBo81JTVo--Mv3hSoNbrBjaZnKaOjYpHK_g AT mail DOT gmail DOT com>
<CAA2C=vDqbZ5yBqBJbus7YqkcukNFdtdUyXEQbaNT3ScPF6XsJw AT mail DOT gmail DOT com>
<83h6wbayya DOT fsf AT gnu DOT org> <CAA2C=vCrXwWoppEVwZN1Za1h27vB-y1f=pxF=HUXUZKycSG0oQ AT mail DOT gmail DOT com>
<834jsbavcp DOT fsf AT gnu DOT org> <CAA2C=vB5+Rqi3ozrfO+uFfY4oKOoBQ6wiyhJkgBZABQ_9Yi4SA AT mail DOT gmail DOT com>
<83y1pn9ffg DOT fsf AT gnu DOT org> <CAA2C=vCO6Pbt4igByu43v30VRboJqrDrF547_+=poJ-vX6f+Mg AT mail DOT gmail DOT com>
Reply-To: djgpp AT delorie DOT com

> From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
> Date: Sat, 28 Jan 2023 12:51:21 +0300
> 
> On 1/28/23, Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]
> <djgpp AT delorie DOT com> wrote:
> >> From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]"
> >> <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]
> >> <djgpp AT delorie DOT com> wrote:
> >> >> From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]"
> >> >> <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?
> 
> No, no problems. But detecting and correctly using -lgcc was the
> original goal.

But -L doesn't contradict that goal, does it?

> Looks like this is becoming a hassle. Revert the patch and document
> the -lgcc issue instead?  (Even though I did like the result of the
> patch where it does run..)

I'm sorry I'm causing the hassle, but can we please not give up just
yet, and see if we can have the cake and eat it, too?  I'd like to see
if there is a solution that both fixes the problem and is
backward-compatible.  See my other mail with further suggestions.

Thanks.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019