STM32 Eclipse + ARM GNU toolchain error linker. -


i use eclipse + arm plugin build projects. when needed use in project stemwin library, configured ide use external library. set preferences->c/c++ general-> pahs , symbols add in "library paths" link folder includes library. secondly add name of library in tab "library" checked settings in compiler tab, , ascertained should good. when tried build project error linker.

cannot find -lmylib.a hello c/c++ problem

i checked name of library , link, correct. output of linker:

arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -l"c:\lib" -t"c:\arm_toolchain\stm32_workspace\hello\linkerscript.ld" -wl,-map=output.map -wl,--gc-sections -o "hello.elf" @"objects.list" -lmylib.a

maybe have same problem. best regarts.

i faced same problem before...
-l:stemwin526_cm4_gcc.a
-l"c:\edu_workspace\stm32f4\stm32f4_bsp_template\drivers\middlewares\st\stemwin\lib"
above working settings. -l: colon ':' important archive file linking
, -l contain library path. stemwin make sure compile hardware floating point -mfloat-abi=hard -mfpu=fpv4-sp-d16


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -