Following step-by-step instructions by Adam J. Kunen I was able to compile my own gnu arm tool-chain on Ubuntu Linux 12.10.
I used following packages:
- binutils-2.23
- gcc-4.8.1 (Adam also recommends downloading packages gcc-core and g++ but I skipped those)
- gdb-7.6
- newlib-2.0.0
../../src/gcc-4.8.1/configure --target=arm-none-eabi --prefix=$MYTOOLS --enable-interwork --enable-multilib --enable-languages="c,c++" --with-newlib --with-headers=../../src/newlib-2.0.0/newlib/libc/include --with-system-zlib
UPDATE: Unfortunately this fix has some issues. It will not build libgcc. Seeking for a better solution.
Categories arm , c++ , compilation , embedded , gnu
Subscribe to:
Post Comments
(
Atom
)
I have the same problem here. Would be nice to know how to fix it.
Anonymous said...
6:42 AM
Same problem here using those versions, despite using the newer instructions from the same author at:
http://imvoid.wordpress.com/2013/05/01/building-the-gnu-arm-toolchain-for-bare-metal/
So far no solution found.
Unknown said...
12:43 PM
Thanks foor a great read
Fort Lauderdale Irrigation said...
3:24 AM