GCC 8.1 does not hve a working make install target

229 views
Skip to first unread message

robert...@verizon.net

unread,
May 25, 2018, 2:24:33 PM5/25/18
to
I have gotten GCC 8.1 and configure and make work fine.
But trying to do make install fails. Thoughts?

robert...@verizon.net

unread,
May 25, 2018, 3:42:02 PM5/25/18
to
The error I get

$ make install
make[1]: Entering directory '/usr/local/contrib/gcc-8.1.0'
/bin/sh ./mkinstalldirs /usr/local /usr/local
make[2]: Entering directory '/usr/local/contrib/gcc-8.1.0/host-x86_64-unknown-cygwin/fixincludes'
make[2]: *** No rule to make target 'install'. Stop.
make[2]: Leaving directory '/usr/local/contrib/gcc-8.1.0/host-x86_64-unknown-cygwin/fixincludes'
make[1]: *** [Makefile:3756: install-fixincludes] Error 2
make[1]: Leaving directory '/usr/local/contrib/gcc-8.1.0'
make: *** [Makefile:2323: install] Error 2

robert...@verizon.net

unread,
May 26, 2018, 12:32:40 PM5/26/18
to
With GCC 7.3 same issue

robert@robert-windows /usr/local/contrib/gcc-7.3.0
$ make install
make[1]: Entering directory '/usr/local/contrib/gcc-7.3.0'
/bin/sh ./mkinstalldirs /usr/local /usr/local
make[2]: Entering directory '/usr/local/contrib/gcc-7.3.0/host-x86_64-unknown-cygwin/fixincludes'
make[2]: *** No rule to make target 'install'. Stop.
make[2]: Leaving directory '/usr/local/contrib/gcc-7.3.0/host-x86_64-unknown-cygwin/fixincludes'
make[1]: *** [Makefile:3725: install-fixincludes] Error 2
make[1]: Leaving directory '/usr/local/contrib/gcc-7.3.0'
make: *** [Makefile:2326: install] Error 2

robert@robert-windows /usr/local/contrib/gcc-7.3.0

This is odd as earlier I was able to configure/make/make install GCC 6.3, So what am I missing? A configure option?

robert...@verizon.net

unread,
May 27, 2018, 12:57:58 PM5/27/18
to
I finally figured it out. I checked the fixincludes directory and it was empty. No Makefile. So I made one:

install;
echo fake

and redid make install. After another failure where I had to do:

$ touch /usr/local/contrib/build_gcc/gcc/../../gcc-8.1.0/gcc/../libiberty/at-file.texi

thing went through.

robert...@verizon.net

unread,
May 27, 2018, 2:30:51 PM5/27/18
to
Sadly 8.1 gives link errors

gcc -o skill.exe skillbin.o
/cygdrive/c/cygwin64/bin/ld: cannot find crtbegin.o: No such file or directory
/cygdrive/c/cygwin64/bin/ld: cannot find -lgcc
/cygdrive/c/cygwin64/bin/ld: cannot find -lgcc
/cygdrive/c/cygwin64/bin/ld: cannot find crtend.o: No such file or directory
collect2: error: ld returned 1 exit status

So back to 6.3

Reply all
Reply to author
Forward
0 new messages