https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865

--- Comment #43 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Looks like what is being requested here is a windows-host-specific
> configuration option similar to the existing --disable-win32-registry, like
> for example --disable-win32-utf8-manifest with its corresponding
> --enable-win32-utf8-manifest (default).

Yes, this sounds like a good idea.

> Then the question is what can be done in configure.ac to raise some sort of
> flag that can be picked up from gcc/config.host, which is where the utf8
> resource objects get added.    According to its own doc, config.host is
> invoked by configure, so it should be possible to pass a simple flag from
> configure to config.host.    Perhaps setting a shell variable that can be
> checked inside config.host, like ${ENABLE_WIN32_UTF8_MANIFEST}, and pull in
> the utf-8 files only if that is true.

Yes, see the list of variables documented at the beginning of config.host for
examples.

Reply via email to