GCC,"/usr/src/gcc-4.4.5/configure" No such file or directory

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
Cervby
Posts: 4
Joined: Fri Dec 14, 2012 12:29 am

GCC,"/usr/src/gcc-4.4.5/configure" No such file or directory

Post by Cervby »

I'm trying to create a GCC Cross-Compiler and I followed the tutorial at http://wiki.osdev.org/GCC_Cross-Compiler#gcc.

When I run:

Code: Select all

../gcc-4.4.5/configure --target=$TARGET --prefix=$PREFIX --disable-nls     --enable-languages=c,c++ --without-headers
I get the error:

Code: Select all

bash: ../gcc-4.4.5/configure: No such file or directory
(It's translated from Swedish, it originaly said):

Code: Select all

bash: ../gcc-4.4.5/configure: Filen eller katalogen finns inte
I looked in the directory "/usr/src/gcc-4.4.5" and I don't have any file or directory called "configure". What is it and how do I get it?
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: GCC,"/usr/src/gcc-4.4.5/configure" No such file or direc

Post by Brynet-Inc »

Image
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Cervby
Posts: 4
Joined: Fri Dec 14, 2012 12:29 am

Re: GCC,"/usr/src/gcc-4.4.5/configure" No such file or direc

Post by Cervby »

Brynet-Inc wrote:Image
What do you mean by that?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: GCC,"/usr/src/gcc-4.4.5/configure" No such file or direc

Post by Combuster »

"It must be user error"

Either you did something stupid (history has it that "not reading" happens to be quite the typical one - hint hint), or something is actually not your fault but you're not well versed enough in formulating a proper bug report.

Choose one, wisely, and fix it.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: GCC,"/usr/src/gcc-4.4.5/configure" No such file or direc

Post by iansjack »

I think you can be fairly sure that there isn't a fault in the gcc source files. Untar the tarball again and start over.
Cervby
Posts: 4
Joined: Fri Dec 14, 2012 12:29 am

Re: GCC,"/usr/src/gcc-4.4.5/configure" No such file or direc

Post by Cervby »

I redownloaded it and configure and a lot of other different files and folders that wasn't there before are there now, so I must've downloaded the wrong file or something.
Post Reply