Skip to main content
berge472
Associate
February 26, 2013
Question

Linker problems

  • February 26, 2013
  • 1 reply
  • 892 views
Posted on February 26, 2013 at 17:21

I am having issues with getting the Linker script to run. 

/../arm-none-eabi/bin/ld.exe: cannot open linker script file /C:/Users/Jason.Development-PC/Dropbox/Eclipse/TS_001/stm32_flash.ld: Invalid argument

here is where it is called from makefile.targets:

TS_001.elf: $(USER_OBJS)

arm-none-eabi-g++ -T''/C:/Users/Jason.Development-PC/Dropbox/Eclipse/TS_001/stm32_flash.ld'' -Wl,-Map,TS_001.map -mcpu=cortex-m4 -mthumb -g -gdwarf-2 -o ''USER_OBJS'' $(OBJS) $(USER_OBJS) $(LIBS)

Does anything jump out as wrong in the arguments?
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    February 26, 2013
    Posted on February 26, 2013 at 19:23

    Says it can't find the file, I'd start with the path syntax, put the linker script in a root directory or something.

    Look at the directories, the preceding slash, does it need forward or back slashes?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..