Menu

#114 changing linker files does not cause a link step

Next release
open-accepted
None
5
2014-07-13
2014-07-13
No

Plugin: Version 2.3.1-201407120554 (July 12th 2014)
Eclipse Kepler
Host: Windows7 64bit
Toolchain: GNU ARM Embedded (launchpad) 4.8.2

Issue: The make file rule created by the plugin is missing a dependency to the linker files.
It is this:

Tool invocations

test.elf: $(OBJS) $(USER_OBJS)
But should be someting like this

Tool invocations

test.elf: $(OBJS) $(USER_OBJS) $(LD_SCRIPTS)
with LD_SCRIPTS listing all linker scripts present/listed in the linker panel.

Steps:

  1. Create new project (File > New C project > STM32F0xx C/C++ project) (can use default settings)
  2. Build the project, everything builds fine
  3. Touch/change the linker (.ld) files in the ldscripts folder
  4. Build the project again (Project > Build Project)
    Observe: project is not re-linked (only Cross ARM GNU print size is executed)
    Expected: because the linker files have been changed, the project shall be linked again.

Discussion

  • Liviu Ionescu (ilg)

    • status: open --> open-accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • Liviu Ionescu (ilg)

    this is a duplicate of [feature-requests:#55]

    the management for linker scripts will be soon changed, linker scripts will be automatically generated from CMSIS Pack memory maps.

    at the same time I'll try to fix the makefile dependencies.

     

    Related

    Feature requests: #55

MongoDB Logo MongoDB