www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Recipient: | djgpp AT delorie DOT com |
Received-SPF: | neutral (johanna3.inet.fi: domain iki.fi is neutral about |
designating 84.248.104.250 as permitted sender) identity=mailfrom; | |
receiver=johanna3.inet.fi; client-ip=84.248.104.250; | |
envelope-from=andris DOT pavenis AT iki DOT fi; helo=[192.168.1.10]; | |
Message-ID: | <af510754-38ff-b16e-4899-e8ef478aa46d@iki.fi> |
Date: | Wed, 25 Jan 2023 20:31:47 +0200 |
MIME-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 |
Thunderbird/102.6.1 | |
Subject: | Re: DXE3 with std::vector |
To: | djgpp AT delorie DOT com |
References: | <edefcfee-d1ce-415a-8d1d-525a660fb0d5n AT googlegroups DOT com> |
<63a56722-21d6-a368-6400-907f0cf9d01c AT gmail DOT com> | |
<CAA2C=vCduRPA7Ky-kDqs=QtO-qi=DQczM6FMHhB+=Ltof54P=Q AT mail DOT gmail DOT com> | |
<c934abb6-c11e-0087-cd32-365d25d3f154 AT gmail DOT com> | |
<CAA2C=vCHMXDD8iewRStieHyTcgjGF3=d29LmMT53vrzGYe+zMQ AT mail DOT gmail DOT com> | |
<CACuL_+CZm++qhEr7PedDmQaTxjZu9d-rVSw1bgPeist7XZ+dpQ AT mail DOT gmail 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> | |
<61e4c33f-af61-5828-5737-bcf05707ab4a AT gmail DOT com> | |
From: | "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com> |
In-Reply-To: | <61e4c33f-af61-5828-5737-bcf05707ab4a@gmail.com> |
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 |
On 1/23/23 20:06, J.W. Jagersma (jwjagersma AT gmail DOT com) [via djgpp AT delorie DOT com] wrote: > On 2023-01-23 05:00, Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com] wrote: >> The thing is, dxe3gen invokes ld, not gcc. gcc is a front-end to ld >> and handles any such ugliness behind the scene and doing the same for >> dxe3gen might be a real pain. > I think the tricky part is to prevent gcc from invoking stubify on the > resulting object file. Otherwise, it doesn't look too difficult. Just replace > param sequences such as "-T" "dxe.ld" with "-Wl,-T,dxe.ld". The same can be > done for DXE_AS. It is should be easy: 1) dump GCC specs (gcc -dumpspecs >some_file 2) delete next line after line containing '*post_link:' 3) use that file in -T option Andris
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |