https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111530
Gaius Mulley <gaius at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gaius at gcc dot gnu.org
--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Created attachment 56316
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56316&action=edit
Proposed fix
Here is a proposed patch which is currently undergoing bootstrap testing. I
thought I'd post the proposed patch for testing and potential comments.
It uses the libiberty getopt long functions (wrapped up inside
libgm2/libm2pim/cgetopt.cc) and only enables this implementation if configure
detects no getopt_long and friends on the target.