#39 Wrong Linker Label in Makefile generation

Version 0.5.3
closed-works-for-me
Build (20)
5
2013-10-18
2010-11-04
dim
No

Wrong Label in Linker Section. The Makefile generator puts the label "USER_OBJS:" instead of the project outputname. example "Project.elf:"
The same eror apears after the -o parameter.

Wrong section in the makefile:
# All Target
all: Project.elf

# Tool invocations
USER_OBJS: $(OBJS) $(USER_OBJS)
@echo 'Invoking: ARM Sourcery Windows GCC C++ Linker'
arm-none-eabi-g++ -T"project.ld" -nostartfiles -nostdlib -Xlinker --gc-sections -Wl,-Map,Digipack.map -mcpu=cortex-m3 -mthumb -g -o"USER_OBJS" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building: $@'
@echo ' '

Discussion

  • Liviu Ionescu (ilg)

    can you be more specific on your configuration?

     
  • dim

    dim - 2010-11-28

    I am using org.eclipse.cdt.cross.arm.gnu_0.5.3.201010141144 PLugin in Eclipse IDE for C/C++ Developers Version: Helios Service Release 1 Build id: 20100917-0705.

     
  • Liviu Ionescu (ilg)

    hmmm... this does not ring any bell.

    could you redo the test with a brand new project, with minimum files/folders. do not copy/paste the initial project; you can copy/paste files inside the new project. (this is to avoid a CDT bug related to changing settings at folder/file level)

     
  • Nobody/Anonymous

    I have created a new project and now the makefile-builder gives the correct output. Probably it was a an error in the project files.
    So, if you agree, i assume this bug as resolved.
    I am sorry for your inconveniences.

     
  • dim

    dim - 2010-11-29

    I have created a new project and now the makefile-builder gives the correct
    output. Probably it was a an error in the project files.
    So, if you agree, i assume this bug as resolved.
    I am sorry for your inconveniences.

     
  • dim

    dim - 2010-11-29
    • status: open --> closed-works-for-me
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks