Cross Compiler Error

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
varun
Posts: 4
Joined: Fri Mar 17, 2017 7:11 am
Libera.chat IRC: varun

Cross Compiler Error

Post 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.
Octocontrabass
Member
Member
Posts: 5587
Joined: Mon Mar 25, 2013 7:01 pm

Re: Cross Compiler Error

Post by Octocontrabass »

varun wrote:binutils-2.9
Are you sure you want binutils from 1998? Try something newer, like binutils-2.28.
varun
Posts: 4
Joined: Fri Mar 17, 2017 7:11 am
Libera.chat IRC: varun

Re: Cross Compiler Error

Post by varun »

Sorry, to bother you with such a small mistake
Solved, thanks man
User avatar
dchapiesky
Member
Member
Posts: 204
Joined: Sun Dec 25, 2016 1:54 am
Libera.chat IRC: dchapiesky

Re: Cross Compiler Error

Post by dchapiesky »

that kind of version number scheme has always irritated me.... I did that exact same thing one time
:roll:
Plagiarize. Plagiarize. Let not one line escape thine eyes...
Post Reply