This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unrecognized option '-Wl,--mgen-symbol-ld-script=export.txt'

Hello,I try to add a script '-Wl,--mgen-symbol-ld-script=export.txt' in "optins for target"/"linker"/"misc controls". After build, when linking it shows

error: L3900U: Unrecognized option '-Wl,--mgen-symbol-ld-script=export.txt'.

Any idea how to fix this error?

Parents
  • Hi Kelong

    Glad I could help just a little.

    I think you will need to go to the Keil forum for the answer to that one!

    I can see that you are passing a scatter file already in the "user control string" box below (see --scatter option) so perhaps MDK won't let you also add one with the "Scatter file" box? That is a guess though, best to seek expert advice.

    Ta

    Rich

Reply
  • Hi Kelong

    Glad I could help just a little.

    I think you will need to go to the Keil forum for the answer to that one!

    I can see that you are passing a scatter file already in the "user control string" box below (see --scatter option) so perhaps MDK won't let you also add one with the "Scatter file" box? That is a guess though, best to seek expert advice.

    Ta

    Rich

Children