Le jeudi 03 mai à 09:47, Scott Robertson a écrit : > Page 35 of the book specifically says: > > "The Binutils documentation recommends building Binutils outside of the > source directory in a dedicated build directory:" > > mkdir -v ../binutils-build > cd ../binutils-build > > > Should I just disregard that and put it inside the sources directory? If I > follow the directions, I am not supposed to put the binutils-build directory > inside the sources directory? If I don't put it in the sources directory, > then where is the binutils-build directory supposed to go? Can someone > explain what the full path is supposed to be? > Is it supposed to be /mnt/lfs/sources/binutils-build or something else? Is the binutils-build directory inside the lfs/sources directory or outside of it?
Well, first, reply on the list and don't top post. For your question, there is a genral sources directory : $LFS/sources ; and each package has is own source directory, the one obtained when untaring. So, for binutils, you have the file binutils-xx.tar.bz2 in $LFS/sources ; after tar -xvf binutils-xx.tar.bz2 you obtain a subdirectory binustils-xx in which you enter ; you are in $LFS/sources/binutils-xx which is the source directory for binutils ; then you create ../binutils-build which is in $LFS/sources ; then cd ../binutils-build and you are in $LFS/sources/binutils-build. And so on. In $LFS/sources you have the two directories binutils-xx and binutils-build. When binutils is built, you go in £LFS/sources with "cd .." and then you have to delete those two directories with "rm -vfr binutils-xx" and "rm -vfr binutils-build" ; the 'f' is possibly unmandatory. I hope I'm clear but english is not my native language :-) -- Ph. Delavalade -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page