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