This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

need to link my project with gcc elf file

Hello

I built a arm-none-eabi-gcc project that I can compiled correctly. To finish the build, I need to link this project with an elf file.
I tryed to add the elf file into the linker script of the project without success...
I put mylib.elf into the "include libraries" of the linker option.
I still have this error:

c:/program files (x86)/gnu tools arm embedded/5.4 2016q2/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lmylib.elf

Does anyone has an idea how I can link my project with this library?

Other question: how to have the compiler verbose in keil...

Thanks for your support

Ludovic