r/linuxfromscratch • u/glukosio • Aug 25 '15
Can't compile binutils 2.24, chapter 5.4, version 7.5
hello everybody: I'm trying to build linux from scratch but I'm stuck on first compilation. I did everything as it requested and launched configured. then I write command make and it says that: make: *** No targets. Stop. Makefile is empty This is configure output: http://pastebin.com/e36fG5My and this is my version-check.sh: http://pastebin.com/GWKuxrDZ
can anybody help me?
4
Upvotes
View all comments
Show parent comment
1
u/[deleted] Aug 26 '15 edited Aug 26 '15
configure and make commands should be run from binutils-build, and both binutils-build and binutils-2.24 should be in /mnt/lfs/sources. So your first attempt was correct. Only thing I can think of is the LFS and LFS_TGT variables are not set correctly (anymore). try 'echo $LFS' and 'echo $LFS_TGT' to see if they return the correct value.
Its been a while since I've built lfs, but your question got me hooked again, I'm trying a build myself right now :)