On Jul 22, 2012, at 06:12 AM, Moe Derballa wrote: > Hi there. I am working from the latest LFS book online using Linux > Mint 32-bit. > I've followed the instructions letter for letter but seem to get an > error compiling gcc - Pass 2. > > /tools/i686-pc-linux-gnu/bin/ld: cannot find crti.o: No such file > or directory > collect2: ld returned 1 exit status > make[2]: *** [libgcc_s.so] Error 1 > make[2]: Leaving directory `/mnt/lfs/gcc-build-2/i686-pc-linux-gnu/ > libgcc' > make[1]: *** [all-target-libgcc] Error 2 > make[1]: Leaving directory `/mnt/lfs/gcc-build-2' > make: *** [all] Error 2 > > > Anybody know what I might be doing wrong? or any workarounds? > > Thanks in advance for your help
Hello Moe, Check that your LFS_TGT is set and you are actually the lfs user with the proper environment. > /tools/i686-pc-linux-gnu/bin/ld: cannot find crti.o: No such file > or directory The user should be using /tools/i686-lfs-linux-gnu at building gcc pass2, not /tools/i686-pc-linux-gnu. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page