Page 1 of 1

Cross Compiler Error

Posted: Fri Mar 17, 2017 7:28 am
by varun
Please help me figure this out

I have downloaded Different source code versions:
gcc-6.2.0
texinfo-6.3
binutils-2.9
gmp-4.3.2
mpc-0.8.1
isl-0.15
mpfr-2.4.2

but when i executed (http://wiki.osdev.org/Building_GCC)
../binutils-2.9/configure --prefix="$PREFIX" --disable-nls --disable-werror
It broke down with the following Errors:

Configuring for a x86_64-unknown-linux-gnu host.
Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
Unrecognized host system name x86_64-unknown-linux-gnu.

Re: Cross Compiler Error

Posted: Fri Mar 17, 2017 8:00 am
by Octocontrabass
varun wrote:binutils-2.9
Are you sure you want binutils from 1998? Try something newer, like binutils-2.28.

Re: Cross Compiler Error

Posted: Fri Mar 17, 2017 9:11 am
by varun
Sorry, to bother you with such a small mistake
Solved, thanks man

Re: Cross Compiler Error

Posted: Fri Mar 17, 2017 4:03 pm
by dchapiesky
that kind of version number scheme has always irritated me.... I did that exact same thing one time
:roll: