This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Config.sub?


KATHRYN.HALL@email.ucdenver.edu wrote:
Hi,

I need to install gcc vers. 4.2.4 on a linux box, and my experience doing anything with linux is pretty much nil.

When I try to run the configure script, I get the following error:
configure: error: cannot run /bin/sh ./../../config.sub

I've tried searching for config.sub, but it does not appear to exist in the gcc files I downloaded, nor does it appear to be anywhere else on the machine (which has a newer version of gcc installed). Where do I get config.sub?

[root@Dell gcc-4.2.4]# pwd /data1/home/src/gcc-4.2.4 [root@Dell gcc-4.2.4]# ls -l config.sub -rwxrwxr-x 1 515 515 32560 2006-10-16 06:27 config.sub


Is it supposed to be generated by the configure script?

No, the gcc-4.2.4 sources SHOULD have it ! This script will tell which "calculated target name" would be given to the configures in the source subdirs :

[root@Dell gcc-4.2.4]# ./config.sub i686-linux
i686-pc-linux-gnu

Please read my earlier message about configuring with './configure' in
the main source directory!  That is strictly FORBIDDEN !


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]