Forum: ARM programming with GCC/GNU tools Installing gcc 4.9 in ARMv7

von Jyothi K. (jyothi_k)

Rate this post
0 useful
not useful
I want to install gcc 4.9 in Ubuntu in ARMv7 multicore processor. The 
cores are of type Cortex-A7. I tried to add toolchain repository with

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

but failed.

I then tried to make from gcc 4.9.2 branch. But got the following error.

In file included from ./bconfig.h:3:0,
from ../../gcc-4.9.2/gcc/genmddeps.c:18:
./auto-host.h:2056:16: error: declaration does not declare anything 
#define rlim_t long

Could you help. I prefer precompiled binaries.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.