On 08/18/14 10:16, Jean-Marc Pigeon wrote:
Bonjour akhiezer
Agreed.
ld-new really trouble me somewhat, obviously I am misunderstanding
something. I was expecting an answer from the list like "ld-new is found in
the search path because chapter X.Y.Z". On my side I am working
"cutting and pasting" HTML screen,
so I think I do everything according manual, telling me "redo cut and past"
is not helping to my understanding. Right?
About zlib, I should had say about previous ld-new post, I "cut corner"
thinking
it was (obviously) a new Makefile with "-lz" within 'file' tar file.
"my solution" was just to go a little bit further to the next step, not
implying it was THE solution.
I need to redo the whole installation process in a more systematic
way... But if in the mid-time someone can give us some light
about ld-new problem, that will be welcome (telling "redo the process" is
'windows like magic' it is not improving understanding, my 2 Cents)
Not really much to tell about it other than what the LFS book itself
says - ld-new never is found with any search path; it's never used by
the toolchain at all, at least not when it has that name. The short
version is: you can see the grand total of where ld-new is used in the
LFS book simply by looking at Binutils Pass 2, and Adjusting the
Toolchain in Chapter 6 - that's really it.
A longer version: If you look at Binutils Pass 2, you'll see that the
last thing there is to rebuild the "ld" directory so it creates an ld
binary with a new LIB_PATH which looks in /lib and /usr/lib instead of
/tools; Binutils just initially creates it with the name "ld-new" by
default. This "ld-new" program is copied to /tools/bin, and sits there
until you get to Chapter 6. After installing Glibc in Chapter 6, you
adjust the toolchain, which includes renaming the current
"/tools/bin/ld" (the one that searches in /tools for libraries) to
"ld-old" to get it out of the way (but also have it still around in the
event you might want to undo the adjustment and rename it back) and
"ld-new" to "ld", so the default "ld" now looks in /lib and /usr/lib.
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page