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=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TQy5olAUKDi3JQqoc6EX98ZX7PlJwXwEJrtH1twjrw4=; b=hC6wGVLjbusQUnmA2w4aq8iM+iW+mmfmVKRxE9KMR6mmY3jx+SQ7Ksu0YeU10y2tpK fa8T7YRNLJ1nkb5XsFrcnjvZe/6O87PEYsFsvPtFYjS6i7kYDQc55GEz16fAqz2rr1Sk oNugS/aio9X3gtSjQU4IZMp8kWmfNKBu/wGiSmpAjMyVwcyFJPBU6873KiOELo1HOMqr oxYhUdgg6aLB9r3DxOfDnK+2Z1cDA7mmAVQHJYqSEjY6NDZeJaf0Uou3Zjht7lvU8mr+ C/oQnd4ruk70JHiCkCAsdfx8a/Gy2qJS2J5YEt+X+4taD4UaLoCY36LzOBFqCObLtcP5 1Ziw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TQy5olAUKDi3JQqoc6EX98ZX7PlJwXwEJrtH1twjrw4=; b=nESSCxGwC+2jrA5XIwncCGqfsAoiXxKrC+naTIVTvCegvHuiLNPdCUOyXOz9ts5rv4 lwNguCiWVKB3Vbwuhesp+jvOdaZ0ADCT8AML+rMEHipDQXMLI198vyMaPkuULXgEQljz ktPe0ECZFuW9FMP6u5kV+uH0pRWOJCU6tXu7ILmvlF1QS8221dg1NZY5M4QL9mu8vWJ8 dqOQ1jogOmCDcJpZF6ZFIA0VbUSmhXZSvI4F4dIR4AAC1ud/VBcbRep5ct4gEjDO1sN2 VC+wL2i6aJckhMRCqgefO6wGXNFdS1wrWb2pHobCk/wQ/d6SfptaMycF+wPWx7wdFbzY 4/3w== X-Gm-Message-State: AO0yUKV51TITfTeVPRXajdl3TL/inl6t/l6pX/kHfg7Ers4iacBg+vjq 5yTG9jkJJNTy1iO5II6nS6Au/waYdsX8gQ== X-Google-Smtp-Source: AK7set+pfQqrsN50ZkxGHc7y56l6QIppn7H4eApdmurkaYhTndSKP3BuD5IFGrP6vbhRPBeYTdqyPQ== X-Received: by 2002:a17:906:db07:b0:881:9531:35a0 with SMTP id xj7-20020a170906db0700b00881953135a0mr6106379ejb.73.1674929526509; Sat, 28 Jan 2023 10:12:06 -0800 (PST) Message-ID: <8257bbce-b49a-f36c-1fc8-17cf6b5aa83f@gmail.com> Date: Sat, 28 Jan 2023 19:12:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: DXE3 with std::vector Content-Language: en-US To: djgpp AT delorie DOT com References: <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> <15bba6fc-1b9a-f709-7c7b-2fa3f133d5bb AT gmail DOT com> <834jsaa77b DOT fsf AT gnu DOT org> From: "J.W. Jagersma (jwjagersma AT gmail DOT com) [via djgpp AT delorie DOT com]" In-Reply-To: <834jsaa77b.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 2023-01-28 18:40, Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com] wrote: >> Date: Sat, 28 Jan 2023 18:27:19 +0100 >> From: "J.W. Jagersma (jwjagersma AT gmail DOT com) [via djgpp AT delorie DOT com]" >> >> It implies that, if one wants to build a DXE project that was written for the >> native compiler (where libc, libgcc, libstc++ are all in one directory) > > No, in a native installation libgcc and libstdc++ are in a directory > different from libc. We just didn't support linking against those two > libraries because AFAIU it was never needed by anyone, definitely in > the case of libstdc++. On my end, libc and libstdc++ are in %DJDIR%\lib\. But I see libgcc is in %DJDIR%\lib\gcc\djgpp\12\. It is probably possible to configure gcc/libstdc++ to place these in any arbitrary location. I think it's best if dxe3gen and makefile writers have no knowledge of a user's particular configuration, and simply leave it to gcc to figure it out.