You are not logged in.

#1 2016-10-15 20:37:43

Ica
Member
Registered: 2015-10-19
Posts: 9

ARM Cross Compiler Toolchain Building Issue

Hey guys,

I want to build my own ARM toolchain. Seems like SourceForgery, now Mentor Graphics, does not give it away for free anymore. Plus it's always good to know how to do stuff yourself.

For the installation I followed How to Build a Cross-Compiler. Step 3 fails, however. I get the following error when running "make -j4 all-gcc":

cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute

(I also tried it with the most recent versions of binutils etc. but it dit not work either).


My system:

$ uname -a
Linux betazed 4.7.6-1-ARCH #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 x86_64 GNU/Linux
$ gcc --version
gcc (GCC) 6.2.1 20160830


Any idea why the installation fails?

Last edited by Ica (2016-10-15 20:38:43)

Offline

#2 2016-10-16 13:52:14

atomicbeef
Member
Registered: 2015-09-30
Posts: 98

Re: ARM Cross Compiler Toolchain Building Issue

I'm not exactly sure how to fix the issue you're experiencing with the guide, but you could just use crosstool-ng, which would greatly simplify the process.

Offline

#3 2016-10-16 20:31:11

Ica
Member
Registered: 2015-10-19
Posts: 9

Re: ARM Cross Compiler Toolchain Building Issue

atomicbeef wrote:

I'm not exactly sure how to fix the issue you're experiencing with the guide, but you could just use crosstool-ng, which would greatly simplify the process.

Looks really nice, I will check it out. Thx!

Offline

Board footer

Powered by FluxBB