Unable to make install-target-libgcc

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
xSlendiX
Posts: 20
Joined: Tue Jan 08, 2019 7:20 am

Unable to make install-target-libgcc

Post 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?
Hello world!
no92
Member
Member
Posts: 307
Joined: Wed Oct 30, 2013 1:57 pm
Libera.chat IRC: no92
Location: Germany
Contact:

Re: Unable to make install-target-libgcc

Post 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.
xSlendiX
Posts: 20
Joined: Tue Jan 08, 2019 7:20 am

Re: Unable to make install-target-libgcc

Post 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!
Hello world!
xSlendiX
Posts: 20
Joined: Tue Jan 08, 2019 7:20 am

Re: Unable to make install-target-libgcc

Post by xSlendiX »

So it actually worked out, thanks for any help provided!
Hello world!
Post Reply