This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.7.0 compiling problem Ubuntu
- From: Erotavlas_turbo at libero dot it
- To: "gcc-help" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 9 Apr 2012 17:01:32 +0200
- Subject: Re: GCC 4.7.0 compiling problem Ubuntu
I'm running configure from my build directory:
mkdir objdir
cd objdir
srcdir/configure [options] [target]
This works for "old" gcc 4.6.2.
> On 9 April 2012 15:46, <Erotavlas_turbo@libero.it> wrote:
> > Hi,
> >
> > I have tried to compile GCC 4.7.0 under Ubuntu 11.10 64 bit with the following configuration parameters:
> >
> > configure
>
> Are you running configure in the source directory?
>
>
> > --with-cpu=native --with-arch=native --with-tune=native
>
> --with-cpu means the same as --with-tune, specifying both is pointless.
> --with-arch sets the default -march value, which also implies the same
> value for --mtune, so you only need to configure with
> --with-arch=native
>
>
> > mv: cannot stat `Makefile': No such file or directory
>
> What directory was that error in?
>