Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
12 years ago.
makefile anomaly
In the makefile of an exported program the list of libraries and system libraries appears twice in the link command line. Is that necessary or a typo?
[code] $(PROJECT).elf: $(OBJECTS) $(SYS_OBJECTS) $(LD) $(LD_FLAGS) -T$(LINKER_SCRIPT) $(LIBRARY_PATHS) -o $@ $^ $(LIBRARIES) $(LD_SYS_LIBS) $(LIBRARIES) $(LD_SYS_LIBS) [<<</code]
1 Answer
12 years ago.
Hello,
the mbed library requires functionality from some of those libraries and also redefine some functionality of other libraries.
You can test it, remove the inclusion of libraries after mbed, to see.
Regards,
0xc0170