Problem building GCC 4.9.1 on x86_64
David Bernier
david250@videotron.ca
Fri Jul 18 23:04:00 GMT 2014
On 07/16/2014 11:23 PM, Brian Budge wrote:
> I believe you need to configure and make from a directory outside the
> package directory.
>
> On Jul 16, 2014 4:08 PM, "David Bernier" <david250@videotron.ca
> <mailto:david250@videotron.ca>> wrote:
>
> This is what happened after 40 minutes in
> "make":
> for:
>
>
> gcc 4.9.1
>
>
>
> error:
> ==========
>
> using:internal compiler error
> in "make" related to
> gimple.h and ipa-split.c:
Yes, thanks!
I chose
/home/david/scratch2/gcc-4.9.1/ as srcdir,
and
/home/david/scratch2/objdir/ as objdir.
I did the configuration as follows:
[david@localhost objdir]$ /home/david/scratch2/gcc-4.9.1/configure
--prefix=/home/david/ --disable-multilib --enable-languages=c
[...]
Then `make':
[david@localhost objdir]$ make
[...]
libtool: link: ( cd ".libs" && rm -f "libatomic.la" && ln -s
"../libatomic.la" "libatomic.la" )
true DO=all multi-do # make
make[4]: Leaving directory
`/home/david/scratch2/objdir/x86_64-unknown-linux-gnu/libatomic'
make[3]: Leaving directory
`/home/david/scratch2/objdir/x86_64-unknown-linux-gnu/libatomic'
make[2]: Leaving directory
`/home/david/scratch2/objdir/x86_64-unknown-linux-gnu/libatomic'
make[1]: Leaving directory `/home/david/scratch2/objdir'
Note: `make' finished without error.
[david@localhost objdir]$ pwd
/home/david/scratch2/objdir
I set:
PATH=$PATH:/usr/local/share/; export PATH
to include /usr/local/share/ in the PATH (includes tcl and dejagnu).
Am I ready to run the testsuite with
make -k check ?
P.S.: I'm not sure where the executable for the GCC C 4.9.1 compiler is
... Also, I'm not clear what --prefix= does.
Thanks,
David Bernier
More information about the Gcc-help
mailing list