liblto_plugin-0.dll not found -- arm-none-eabi 4.9 2015q1
EDIT: IMPORTANT -- Turns out the linker does work when installed on a fairly fresh Win7 machine. This includes a fresh install of MinGW make. So, at this point I'm assuming that the problem is somewhere on this old XP machine with who knows what other software in it. I guess I'll leave this post in case someone else is having the same problem.
Original post is as follows:
Using arm-none-eabi-g++ version 4.9.3 (4.9 2015q1) installed as:
C:\Program Files\GNU Tools ARM Embedded\4.9 2015q1
Trying to build a Spark app on a Windows XPSP3 platform. Everything compiles ok, but linker bombs saying liblto_plugin-0.dll not found.
liblto_plugin-0.dll is present in the distribution here:
C:\Program Files\GNU Tools ARM Embedded\4.9 2015q1\
and I've even tried including it in the windows PATH, but still get the error.
make
Building core-common-lib
make[1]: Nothing to be done for `all'.
Building core-communicat
make[1]: Nothing to be done for `all'.
Building target: core-firmware.elf
Invoking: ARM GCC C++ Linker
mkdir -p ./
arm-none-eabi-g++ -g3 -gdwarf-2 -Os -mcpu=cortex-m3 -mthumb -I../inc -I../libra
ries/Serial2 -I../..
/Device/
inc -I../..
ib/CC3000_
core-common-
include -I../..
ge-length=0 -Werror=
E_STDPERIPH_DRIVER -DSTM32F10X_MD -DDFU_BUILD_ENABLE -DSPARK=1 -DRELEASE_BUILD
./obj/src/
k_utilities.o ./obj/src/
/spark_wiring_i2c.o ./obj/src/
paddress.o ./obj/src/
src/spark_
eam.o ./obj/src/
rc/spark_
_tone.o ./obj/src/
src/spark_
o ./obj/src/
str.o ./obj/src/
/startup_
md_dfu.ld -nostartfiles -Xlinker --gc-sections -L../..
core-common-lib -L../..
l,-Map,
arm-none-eabi-g++: fatal error: -fuse-linker-
found
compilation terminated.
make: *** [core-firmware.elf] Error 1
By the way, version 4.8 works ok, and has this dll in the same place in it's distribution.
How do I fix this???
Thanks!
RESOLVED: See top of post
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask faradayent for more information if necessary.