Python support for GDB at Ubuntu14.04_64
Hello,
I followed this tutorial to install your excellent arm-none-eabi-gcc and it works perfect to compile and flash:
http://
So I'm using Terry Guo's PPA package sucessfully at Ubuntu 14.04 64bit but have never debugged my STM32F4 Discovery Board.
Instead of Eclipse I would strongly prefer to use QTCreator (because all my other QT projects need it) and I tried to get arm-none-eabi-gdb to work.
So I followed this tutorial:
https:/
I can set everything up successfully and come to the point where I want to remote-connect to my running OpenOCD Server.
My problem is that I get the Error that my current GDB was built without Python support.
I found this question:
https:/
So I wanted to rebuild gcc-arm-embedded from source with python support but failed.
Even without modifying build-toolchain.sh (remove =no at --with-python) I can't build and get:
make[4]: *** [as.info] Error 1
make[3]: *** [install-am] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-gas] Error 2
make: *** [install] Error 2
I called it like this:
./build-
and the log is HUGE. Here are the last lines:
make[3]: Leaving directory `/home/
make[3]: Entering directory `/home/
make[4]: Entering directory `/home/
/bin/bash /home/dl/
/bin/bash ./libtool --mode=install /usr/bin/install -c as-new /home/dl/
libtool: install: /usr/bin/install -c as-new /home/dl/
/bin/bash /home/dl/
n=`echo as | sed 's&^&arm-
if [ "/home/
rm -f /home/dl/
ln /home/dl/
|| /bin/bash ./libtool --mode=install /usr/bin/install -c as-new /home/dl/
else \
true ; \
fi
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/
make[3]: Leaving directory `/home/
make[2]: Leaving directory `/home/
make[1]: Leaving directory `/home/
Is this what you would expect because I tried the plain GNU Tools for ARM Embedded Processors under Ubuntu without Terry Guos modufication? This was my assumption.
So I downloaded the source from https:/
/home/dl/
with Terrys. Again WITHOUT changing any script to enable Python I still can't build:
./build-
checking whether cc is gcc... yes
checking compiler cc -m32 -O2 -pedantic -fomit-
checking compiler cc -O2 -pedantic -fomit-
checking compiler cc -O2 -pedantic -fomit-
configure: error: could not find a working compiler, see config.log for details
I'm not sure what that means but I have gcc:
dl@dl-SVP1321C5
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
I'm completly stuck.
Was my approach the right way? What is an easy way to get Ubuntu-compatible ARM ToolChain with python?
Many many thanks for reading and any help!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Terry Guo
- Solved:
- Last query:
- Last reply: