Hi,
Quote:
This is my first post so be gentle..:-)
|
druuna puts on his gentle and assuring face
Quote:
On deleting the source and build dirs does not the " make -C ld clean" at the end of 5.3 binutils-2.16.1 pass 1 do this?
|
Nope, this command removes all compiled files in the ld subdir, the are rebuild with the next command (make -C ld LIB_PATH=/tools/lib). BTW: This is explained in the on-line documentation.
Quote:
I`m asking because after i was finished with binutils pass 1, i tried removing the source and build dirs and was told they do not exist?
|
Then you probably did something wrong. I haven't seen any package that removes itself after compiling/installing it and I'm sure that (B)LFS does not use one (if they exist at all).
You don't tell how you did things, so I cannot give you any advise on how to proceed (or start over). I can give you some general info about installing packages (LFS book as base). I've posted this information before, so it could be that this is 'old news' for you:
cd $LFS/sources - this is where all the archives can be found.
tar jxf <some.package>.tar.bz2 - unzip/unpack package.
cd <some.package> - cd to package directory
The book assumes that you have done the above already.
Patching is done here, if needed.
patch -Np1 -i ../<some-package>.patch
For most of the chapters all is done from here, but for some (binutils being one of those) it is needed to create a building dir (the source directory they talk about is the directory you are in at the moment). You do that as follows:
mkdir ../<some.package>-build - create build directory for package.
cd ../<some.package>-build - goto build directory.
After you are done:
cd $LFS/sources - return to sources directory
rm -rf <some.package> - remove the directory for <some.package>
If a <some.package>-build directory was created, you can remove that too:
rm -rf <some.package>-build
Hope this helps.