Page 1 of 1

[SOLVED]Can't build binutils...?

Posted: Sun Jul 28, 2013 9:08 am
by ehcube
I am sorry to bother you, because I probably shouldn't. BUT.
I just got a new PC (with a fancy 8-core AMD) and installed ubuntu. Everything was fine. Then I started building my cross-compiler and all hell broke lose.
See this:

Code: Select all

ehc@box:~/DEV/crosscompilers/i386-elf/build/build-binutils$ ../binutils-2.9.1/configure --disable-nls --targeet=i386-elf --prefix=/home/ehc/DEV/crosscompilers/i386-elf/prefix/
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.
ehc@box:~/DEV/crosscompilers/i386-elf/build/build-binutils$ uname -a
Linux box 3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:43:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
ehc@box:~/DEV/crosscompilers/i386-elf/build/build-binutils$ gcc --version
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ehc@box:~/DEV/crosscompilers/i386-elf/build/build-binutils$
Anyone have a clue as to what is going on?

Re: Can't build binutils...?

Posted: Sun Jul 28, 2013 9:18 am
by bluemoon
--targeet=i386-elf

Re: Can't build binutils...?

Posted: Sun Jul 28, 2013 9:21 am
by ehcube
Nope. Same error still :(

Re: Can't build binutils...?

Posted: Sun Jul 28, 2013 10:06 am
by dozniak
Isn't 2.9.1 a bit obsolete? (1998)

Re: Can't build binutils...?

Posted: Sun Jul 28, 2013 10:13 am
by ehcube
dozniak wrote:Isn't 2.9.1 a bit obsolete? (1998)
Wait.
:oops:
I'm an idiot. Thanks for the help.

Re: Can't build binutils...?

Posted: Thu Aug 01, 2013 8:17 pm
by Lionel
bluemoon wrote:--targeet=i386-elf
That should be --target=i386-elf
Too many e's

Re: Can't build binutils...?

Posted: Fri Aug 02, 2013 12:52 am
by dozniak
Lionel wrote:
bluemoon wrote:--targeet=i386-elf
That should be --target=i386-elf
Too many e's
This is exactly what bluemoon meant.