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

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
ehcube
Posts: 3
Joined: Sun Jul 28, 2013 8:55 am
Location: Behind the monitor

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

Post 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?
Last edited by ehcube on Sun Jul 28, 2013 10:16 am, edited 1 time in total.
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: Can't build binutils...?

Post by bluemoon »

--targeet=i386-elf
ehcube
Posts: 3
Joined: Sun Jul 28, 2013 8:55 am
Location: Behind the monitor

Re: Can't build binutils...?

Post by ehcube »

Nope. Same error still :(
User avatar
dozniak
Member
Member
Posts: 723
Joined: Thu Jul 12, 2012 7:29 am
Location: Tallinn, Estonia

Re: Can't build binutils...?

Post by dozniak »

Isn't 2.9.1 a bit obsolete? (1998)
Learn to read.
ehcube
Posts: 3
Joined: Sun Jul 28, 2013 8:55 am
Location: Behind the monitor

Re: Can't build binutils...?

Post by ehcube »

dozniak wrote:Isn't 2.9.1 a bit obsolete? (1998)
Wait.
:oops:
I'm an idiot. Thanks for the help.
User avatar
Lionel
Member
Member
Posts: 117
Joined: Fri Jul 16, 2010 2:16 pm
Libera.chat IRC: ryanel
Location: California

Re: Can't build binutils...?

Post by Lionel »

bluemoon wrote:--targeet=i386-elf
That should be --target=i386-elf
Too many e's
User avatar
dozniak
Member
Member
Posts: 723
Joined: Thu Jul 12, 2012 7:29 am
Location: Tallinn, Estonia

Re: Can't build binutils...?

Post 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.
Learn to read.
Post Reply