how to remedy mno cygwin error?

前端 未结 1 1041
悲哀的现实
悲哀的现实 2021-02-13 18:52

I\'m working on compiling a library in windows with GCC and Make. When I run make, I get the following error:

unrecognized command line option \'-mno-

1条回答
  •  天涯浪人
    2021-02-13 19:41

    The current cygwin gcc compiles only for cygwin itself.

    -mno-cygwin is an obsolete flag from gcc 3.x time that allowed the cygwin compiler to compile mingw (not cygwin) programs.

    The switch was removed long time ago and true cross compilers

    mingw64-x86_64-gcc-core
    mingw64-i686-gcc-core
    cygwin-mingw

    were made available

    Latest update:
    https://sourceware.org/ml/cygwin-announce/2016-11/msg00020.html

    0 讨论(0)
提交回复
热议问题