mbed-os/tools/export/gnuarmeclipse
Phyo Kyaw 87304f8812 Updated to include user defined static lib files in the Linker object files path.
### Description

This is to fix linker not finding symbols declared in object files inside static library files.

For this case throwing:-

> rm-none-eabi-g++: error: unrecognized command line option '--wrap=main'; did you mean '--warn-main'?

For this case to include libmbed.a which contains

mbed_alloc_wrappers.o:
         U __real__calloc_r
         U __real__free_r
         U __real__malloc_r
         U __real__memalign_r
         U __real__realloc_r
00000000 T __wrap__calloc_r
00000000 T __wrap__free_r
00000000 T __wrap__malloc_r
00000000 T __wrap__memalign_r
00000000 T __wrap__realloc_r
00000000 T free_wrapper
00000000 T malloc_wrapper
00000000 T mbed_stats_heap_get
         U memset

This patch also changed the library order to system and then user.

-lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -lmbed

Resolves: #7155

### Pull request type

    [ x ] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Feature
    [ ] Breaking change
2018-08-13 09:19:47 +01:00
..
.cproject.tmpl Updated to include user defined static lib files in the Linker object files path. 2018-08-13 09:19:47 +01:00
.project.tmpl Compute source folders exclusions. 2017-01-12 18:10:56 +02:00
NOTES.md all options parsed, build functional 2017-01-18 01:54:04 +02:00
__init__.py Updated to include user defined static lib files in the Linker object files path. 2018-08-13 09:19:47 +01:00
makefile.targets.tmpl gnuarmeclipse exporter uses mBed instead of proper casing 2018-02-15 12:24:01 +08:00
mbedignore.tmpl Generate GNU ARM Eclipse's .mbedignore with Jinja2 2017-04-11 14:11:44 -05:00