What is the OPTION in the GCC's option “-Wl,OPTION”?

前端 未结 4 1367
南旧
南旧 2021-02-06 02:50

When I read the GCC\'s info manual, I found the link option -Wl,OPTION:

`-Wl,OPTION\'
 Pass OPTION as an option to the li         


        
相关标签:
4条回答
  • 2021-02-06 03:00

    On my linker (for sh4), you type sh4ld --help.

    0 讨论(0)
  • 2021-02-06 03:01

    The linker is called ld. Googling for ld options gives e.g. http://sourceware.org/binutils/docs-2.16/ld/Options.html

    0 讨论(0)
  • 2021-02-06 03:15

    It is linker options written like this (from my makefile):

    FLAGS += -Wl,--enable-auto-import,--enable-runtime-pseudo-reloc
    

    The linker options are listed in detail on the linker man page: ld (the GNU linker)

    0 讨论(0)
  • 2021-02-06 03:16

    The options are for the ld linker, and are listed here.

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