I am attempting to create the cross-compiler to create the most basic OS.
I succesfully followed the instructions for binutils (v2.31), but now for GCC (v8.2.0), I cant run any make commands.
make: *** No rule to make target 'all-gcc'. Stop.
make: *** No rule to make target 'all-target-libgcc'. Stop.
...
What should I do? I've no idea about Linux (Using WSL2) or anything related to GNU.
make: *** No rule to make target 'all-gcc'. Stop.
-
- Member
- Posts: 5568
- Joined: Mon Mar 25, 2013 7:01 pm
Re: make: *** No rule to make target 'all-gcc'. Stop.
Check to make sure you didn't miss a step. Those rules are generated by the configure script, so perhaps you didn't run the configure script or ran it in the wrong directory.
Re: make: *** No rule to make target 'all-gcc'. Stop.
https://imgur.com/a/aDTemJpOctocontrabass wrote:Check to make sure you didn't miss a step. Those rules are generated by the configure script, so perhaps you didn't run the configure script or ran it in the wrong directory.
Ran it inside $HOME/src/build-gcc
-
- Member
- Posts: 148
- Joined: Sun Aug 23, 2020 4:35 pm
Re: make: *** No rule to make target 'all-gcc'. Stop.
Look at the last few lines:
Make sure you installed ALL of the required packages. (It's failing at libgmp)
Code: Select all
checking for the correct version of gmp.h... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+
My OS: TritiumOS
https://github.com/foliagecanine/tritium-os
void warranty(laptop_t laptop) { if (laptop.broken) return laptop; }
I don't get it: Why's the warranty void?
https://github.com/foliagecanine/tritium-os
void warranty(laptop_t laptop) { if (laptop.broken) return laptop; }
I don't get it: Why's the warranty void?
Re: make: *** No rule to make target 'all-gcc'. Stop.
Did you see this error message?
You have to resolve that error first.
Code: Select all
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+, and MPC 0.8.0+
Re: make: *** No rule to make target 'all-gcc'. Stop.
moonchild wrote:Did you see this error message?
You have to resolve that error first.Code: Select all
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+, and MPC 0.8.0+
Yes, I failed to see that. I installed all three libs and it now finally works.foliagecanine wrote:Look at the last few lines:Make sure you installed ALL of the required packages. (It's failing at libgmp)Code: Select all
checking for the correct version of gmp.h... no configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+
Thanks!