Japanese Simutrans Forum
日本語simutransフォーラム => バグレポート => トピック開設者: z9999+ さんの発言 2011/12/01 22:53
-
最新版のMinGW (GCC 4.6.1)では、"-mno-cygwin"フラグを使用するとエラーになり、コンパイルに失敗する。
Makefileを修正して、"-mno-cygwin"フラグを取り除くとコンパイル可能。
This was reported in a japanese community.
Latest MinGW (GCC 4.6.1) doesn't recognize "-mno-cygwin" flag anymore, it will cause compiling error.
cc1: error: unrecognized command line option "-mno-cygwin"
Easy workaround is to remove "-mno-cygwin" flag from Makefile.
But it might cause problem for the people who use older cygwin.
Three of Makefile - simutrans, makeobj, nettools - contain this flag.
-
How does this work, when cygwin and mingw are installed on the same computer? And the last release is 4.4.0 for mingw. I consider changing this but given the problems with bleeting edge gcc 4.x.x we had in the past I might waiting a little time to see what the mingw team does next.
(And why they do not just ignore this flag is beyond my knowledge, sigh.)
-
I have no idea, sorry.
-
Anyway, I followed your suggestion, as the cygwin mingw is seriously broken anyway, when I tried.