unrecognized command line option ‘-rdynamic’ on GCC v4.9.2

前端 未结 2 1251
孤城傲影
孤城傲影 2021-01-03 05:45

I\'m using GCC v4.9.2 under Cygwin on Windows 7 64-bit, but running into an issue trying to compile uWSGI.

The error I\'m receiving is -

gcc: error:          


        
2条回答
  •  时光取名叫无心
    2021-01-03 06:40

    The link you give says:

    -rdynamic

    Pass the flag -export-dynamic to the ELF linker, on targets that support it. This instructs the linker to add all symbols, not only used ones, to the dynamic symbol table. This option is needed for some uses of dlopen or to allow obtaining backtraces from within a program.

    (Emphasis added.)

    Is Cygwin using ELF format object files? It seems unlikely.

提交回复
热议问题