Re: GCC4.7.0 Linux installation headache
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Summary: Operating system: (Linux) Ubuntu 12.04Downloaded 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. Building5. Testing (the optional phase)6. Final InstallWhen 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.