W dniu 2016-10-07 o 11:15, Richard Biener pisze: > On Fri, Oct 7, 2016 at 10:17 AM, Marcin Noga <marcin_n...@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.
My mistake. I removed the dot from the path, and the problem is solved. Thank You for Your help