Removing --enable-win32-registry or disabling by default?
Proposes removing or disabling the --enable-win32-registry configure option due to apparent lack of usage.
This RFC proposes removing the –enable-win32-registry configure option or at least disabling it by default. The proposer observed that major Windows GCC distributions either disable this feature or do not use the registry lookup mechanism. Furthermore, searches for real-world uses of custom registry keys yielded no results beyond GCC’s own documentation. The proposal aims to simplify configuration and eliminate dead code, with default-disabling as a less disruptive alternative.
- proposer
Proposes removing or disabling the --enable-win32-registry configure option, citing a lack of observed usage in major distributions and online searches.
“I would like to propose removing the --enable-win32-registry configure option, or at least making it disabled by default. Two observations suggest that this feature has no practical users: ... Given this, the option appears to be unused in practice. Removing it would simplify configuration and avoid maintaining dead code; default-disabling it would be a lower-risk alternative, while still allowi…”
In Details
The --enable-win32-registry option controls whether GCC on Windows registers itself in the system registry. This RFC questions the utility of this feature, as observed usage by major distributions like MSYS2, Cygwin, and others is minimal or non-existent. The proposal suggests its removal or default disabling to streamline the build configuration and maintenance.