GCC version.c: Affect Version Number Only for MinGW/Cygwin
Ranjit Mathew <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <[email protected]> |
Hi,
A minor point: the MinGW patches to GCC currently
modify the GCC version string straightaway to "mingw-special
..." - they should instead patch the GCC version.c file in
a way like this:
-------------------------- 8< -----------------------------
#if defined (__MINGW32__)
const char *const version_string = "3.2 (MinGW special 20020817-1)";
#else if defined (__CYGWIN__)
const char *const version_string = "3.2 (Cygwin special 20020817-1)";
#else
const char *const version_string = "3.2";
#endif
-------------------------- 8< -----------------------------
Otherwise, the source becomes "polluted" in the sense that
a GCC built from this sources, say on Linux, also insists
that it is "mingw special".
Sincerely Yours,
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en