GCC4.7.0 Linux installation headache

Georg-Johann Lay gjl@gcc.gnu.org
Fri Jun 1 17:37:00 GMT 2012


blessman11 schrieb:
> 
> 
> Summary:
> Operating system: (Linux) Ubuntu 12.04
> Downloaded the “gcc-4.7.0.tar.gz” and “gcc-4.6.3-4.7.0.diff.gz” files 
> Unzipped the folders using the command terminal  
>  
> So far I’m stuck on stage 3 of the stages listed below
> according to the documentation. 
> 
> 1.	Prerequisites 
> 2.	Downloading the source 
> 3.	Configuration 
> 4.	Building
> 5.	Testing (the optional phase)
> 6.	Final Install 
> 
> When triying to configure the files I've tried these commands (and they
> failed)
> 
>      mkdir var/gcc
>      cd var/gcc
>      usr@tubuntu:~/Downlaods/gcc-4.7.0$ configure
> [--with-pkgversion=version] [--target=target]
> //error received
> “configure: command not found ”

1) Don't configure in the source tree.
2) In your case 1) seems to be ok but the directory you
    try to run configure is empty. Thus: call is like
    ../../gcc-sources/configure or alike.

To get the prerequisites you can run

./contrib/download_prerequisites

from top-level source directory.



More information about the Gcc-help mailing list