I try to compile latest gomingw (golang.org) using new msys - bison-2.4.2-1-msys-1.0.13.
But i got error m4: --gnu option not recognized.
http://gnuwin32.sourceforge.net/packages/bison.htm
in this bison-m4 there is another option witch is not available in msys.
m4 --help
...
Limits control:
-g, --gnu override -G to re-enable GNU extensions
-G, --traditional suppress all GNU extensions
...
best regards
The
-G, --traditional suppress all GNU extensions
option is available in m4-1.4.14, the current version shipped with m4. However, the
-g, --gnu override -G to re-enable GNU extensions
option was not added until m4-1.4.15.
This is not a bug; it is a feature request that MSYS provide the latest version of m4. Moving to the Feature Request tracker.
Chuck,
Are you sure that m4-1.4.14 doesn't support the --gnu option? It certainly doesn't elicit any complaint from the current MSYS release:
$ m4 --version
m4 (GNU M4) 1.4.14
Copyright (C) 2010 Free Software Foundation, Inc.
...
$ m4 --gnu
^D
$ m4 --GNU
m4: unrecognized option '--GNU'
Try `m4 --help' for more information.
$ m4 --help
...
Limits control:
-g, --gnu override -G to re-enable GNU extensions
-G, --traditional suppress all GNU extensions
...
Konrad,
What MSYS version of m4 do you actually have installed? If it predates 1.4.14, then you need to upgrade, and we can close this ticket.
Ticket moved from /p/mingw/feature-requests/79/
Is this still an issue? It's fairly certain that Charles Wilson is unlikely to follow it up, since he is no longer a MinGW.org Project participant. My own inclination is to close, but perhaps Cesar would care to comment?