This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Gnu gcc-6.2.0. Make install-gcc failed.
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Marcin Noga <marcin_noga at procard dot pl>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 7 Oct 2016 11:15:28 +0200
- Subject: Re: Gnu gcc-6.2.0. Make install-gcc failed.
- Authentication-results: sourceware.org; auth=none
- References: <6825661a-b486-d76c-b98d-59f437df4495@procard.pl>
On Fri, Oct 7, 2016 at 10:17 AM, Marcin Noga <marcin_noga@procard.pl> wrote:
> Hello.
> I just starting their adventure with the GNU GCC.
> Successfully compiled binutils and gcc 6.2.0 for FR30-elf target.
> In an environment Msys2 under Windows 10.
> Configuration binutils:
>
> ../../src/binutils-2.27/configure --target=FR30-elf
> prefix=/c/mingw/FR30-elf --disable-nls
>
> Configuring gcc 6.2.0:
>
> ../../src/gcc-6.2.0/configure --target=FR30-elf prefix=/c/mingw/FR30-elf
> --enable-languages=c,c++ --disable-nls -disable-shared --with-newlib
> --with-headers=../../src/newlib-2.4.0.20160923/newlib/libc/include
>
> I have a problem with installing gcc.
> Make install or make install-gcc returns an error:
> ...
> /d/Devel/Fujitsu_FR30.80/gcc_6.2/src/gcc-6.2.0/install-sh: line 437:
> exec: cp: can not execute: Is a directory
> make [2]: *** [Makefile: 3617: install-mkheaders] Error 1
> make [2]: Leaving directory
> '/d/Devel/Fujitsu_FR30.80/gcc_6.2/build/gcc-6.2.0/gcc'
> make [1]: *** [Makefile: 4206: gcc-install] Error 2
> make [1]: Leaving directory
> '/d/Devel/Fujitsu_FR30.80/gcc_6.2/build/gcc-6.2.0'
> make: *** [Makefile: 2294: install] Error 2
>
> What am I doing wrong?
> Can anyone help?
> In Annex I posted the files config.log, make_install-gcc.log.txt,
> install-sh.
Do you have . in your $PATH?
Richard.
> Regards,
> Marcin.