Can I disable c++ when compiling gdc?
ketmar via D.gnu
d.gnu at puremagic.com
Fri Jan 16 09:11:24 PST 2015
On Fri, 16 Jan 2015 17:04:16 +0000
"Timo Sintonen via D.gnu" <d.gnu at puremagic.com> wrote:
> This came to my mind while reading the other list.
> Compiling gdc automatically enables compiling c++. This is
> natural because gdc is made with c++.
> When making a cross compiler only host c++ is needed, not the
> target one. C++ for the target is still built and it also
> requires target libc (or newlib) because of building the c++
> runtime library.
>
> Does anybody know if it is possible to disable building the
> target c++ compiler?
ah, sure it is. my build scripts patching config-lang.in, removing
"c++" from "lang_requires_boot_languages"
i don't know what bad consequences may arise from that, but for my
local builds i don't really care.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20150116/d56fc6d1/attachment.sig>
More information about the D.gnu
mailing list