Page 1 of 1

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

Posted: Sat Feb 02, 2013 8:14 am
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?

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

Posted: Sat Feb 02, 2013 8:36 am
by Brynet-Inc
Image

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

Posted: Sat Feb 02, 2013 8:40 am
by Cervby
Brynet-Inc wrote:Image
What do you mean by that?

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

Posted: Sat Feb 02, 2013 9:43 am
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.

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

Posted: Sat Feb 02, 2013 9:54 am
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.

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

Posted: Sat Feb 02, 2013 10:14 am
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.