Hi again --
I am back at 6.10, 'Adjusting the toolchain.'
Near the top it reads:
* Next, amend the GCC specs file so that it points to the new dynamic
linker. Simply deleting all instances of “/tools” should leave us with the
correct path to the dynamic linker. Also adjust the specs file so that GCC
knows where to find the correct headers and Glibc start files. A sed
command accomplishes this ...*
However, if I do this:
root:/sources/bzip2-1.0.6# gcc -dumpspecs | grep tools
I get
%{!static:--eh-frame-hdr} %{!mandroid|tno-android-ld:%{m16|m32|mx32:;:-m
elf_x86_64} %{m16|m32:-m elf_i386}
%{mx32:-m elf32_x86_64} %{shared:-shared} %{!shared:
%{!static: %{rdynamic:-export-dynamic}
%{m16|m32:-dynamic-linker %{muclibc:*/tools*
/lib/ld-uClibc.so.0;:%{mbionic:/system/bin/linker;:*/tools/*lib/ld-linux.so.2}}}
... *more instances of '/tools'*
'/tools' still shows up in the specs.
I tried exiting the chroot and re-entering, and re-entering the sed command
in 6.10:
gcc -dumpspecs | sed -e 's@/tools@@g' \
-e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \
-e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \
`dirname $(gcc --print-libgcc-file-name)`/specs
but get the same result. I'm trying to avoid starting over from the
beginning -- it appears, anyway, that this sed command does not work on my
machine ... the instruction states 'all instances' of /tools should be
removed.
I truly appreciate the help.
/Glenn
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style