eclipse cross gcc でライブラリィのリンクが出来ない
Posted: 2017年1月16日(月) 02:14
STM32F746G-DISCOで開発をするため、STのデモプログラムをeclipseに移植しています。
なんとかコンパイルは通ったのですが、リンクで躓いています。
Invoking: Cross ARM C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=softfp -mfpu=fpv5-sp-d16 -O2 -g -T "D:\eclipse\test\demo00\f7_demo\STM32F746NGHx_FLASH.ld" -Xlinker --gc-sections -L"D:\eclipse\test\demo00\f7_demo\STemWin_Addons" -L"D:\eclipse\test\demo00\f7_demo\Middlewares\ST\STemWin\Lib" -Wl,-Map,"f7_demo.map" -o "f7_demo.elf"
中略
.o ./Core/Src/stm32f7xx_it.o ./Core/Src/system_stm32f7xx.o ./Config/LCDConf.o ./startup_stm32f746xx.o ./syscalls.o -l"STM32746G_Discovery_STemWin_Addons_GCC.a" -l"STemWin528_CM7_OS_GCC_ot.a"
c:/dev/arm/toolchain/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lSTM32746G_Discovery_STemWin_Addons_GCC.a
c:/dev/arm/toolchain/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lSTemWin528_CM7_OS_GCC_ot.a
collect2.exe: error: ld returned 1 exit status
ライブラリィのパスは間違いありません、属性の‘a’無も試しました。
何故、ライブラリィが見つからないのでしょうか?
アドバイス宜しくお願い致します。
なんとかコンパイルは通ったのですが、リンクで躓いています。
Invoking: Cross ARM C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=softfp -mfpu=fpv5-sp-d16 -O2 -g -T "D:\eclipse\test\demo00\f7_demo\STM32F746NGHx_FLASH.ld" -Xlinker --gc-sections -L"D:\eclipse\test\demo00\f7_demo\STemWin_Addons" -L"D:\eclipse\test\demo00\f7_demo\Middlewares\ST\STemWin\Lib" -Wl,-Map,"f7_demo.map" -o "f7_demo.elf"
中略
.o ./Core/Src/stm32f7xx_it.o ./Core/Src/system_stm32f7xx.o ./Config/LCDConf.o ./startup_stm32f746xx.o ./syscalls.o -l"STM32746G_Discovery_STemWin_Addons_GCC.a" -l"STemWin528_CM7_OS_GCC_ot.a"
c:/dev/arm/toolchain/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lSTM32746G_Discovery_STemWin_Addons_GCC.a
c:/dev/arm/toolchain/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lSTemWin528_CM7_OS_GCC_ot.a
collect2.exe: error: ld returned 1 exit status
ライブラリィのパスは間違いありません、属性の‘a’無も試しました。
何故、ライブラリィが見つからないのでしょうか?
アドバイス宜しくお願い致します。