Page 1 of 1

Unable to make install-target-libgcc

Posted: Tue Jan 08, 2019 7:27 am
by xSlendiX
So, then I tried to install libgcc I ran into a problem:

Code: Select all

slendi@anonimoose:~/src/build-gcc$ make install-target-libgcc
/bin/bash ../gcc-8.2.0/mkinstalldirs /home/slendi/opt/cross /home/slendi/opt/cross
make[1]: Entering directory '/home/slendi/src/build-gcc/i686-elf/libgcc'
make[1]: *** No rule to make target 'install'.  Stop.
make[1]: Leaving directory '/home/slendi/src/build-gcc/i686-elf/libgcc'
Makefile:12462: recipe for target 'install-target-libgcc' failed
make: *** [install-target-libgcc] Error 2
Anyone that found a fix?

Re: Unable to make install-target-libgcc

Posted: Tue Jan 08, 2019 9:27 am
by no92
What did you do before? What was the output of those commands? Are you following the wiki instructions?

It's impossible to tell what went wrong just by that output. I'd suspect you just missed a step.

Re: Unable to make install-target-libgcc

Posted: Tue Jan 08, 2019 9:59 am
by xSlendiX
I just realised I downloaded the wrong source code files. I will try to reboot my system and clear the ~/opt directory and reinstall.

I'll be sure to update you guys here!

Re: Unable to make install-target-libgcc

Posted: Wed Jan 09, 2019 2:53 pm
by xSlendiX
So it actually worked out, thanks for any help provided!