Please bear with me, I'll try to explain as clearly as I can, but I've
just barely got it.

After being stymied a while on the gcc install problem I decided to run
my package management backward and pull out all of Ch6.  Then when I
tried to go forward again I couldn't get through making the API
headers--
ld couldn't find crt[1in].o.

I found a clue and ran "gcc -print-search-dirs" which at the end had
/usr/lib, and it was looking in (IIRC) /tools/i686-pc-linux-gnu/lib
which sure enough didn't have crt[1in].o.

So I've just deleted /tools and restored it from a tarball I made right
after finishing Ch5.  Rerunning "gcc -print-search-dirs" had /tools/lib
at the end, and that does have the crt[1in].o.  OK, I should be ready to
go at the API headers now.

But this showed up a flaw in my package management because, if I have
this figured right, we're going to diddle the toolchain in Ch6.10, which
I'd been through.  So pulling out everything new I'd installed up to the
gcc install still left me with a bad toolchain for coming forward again.
Am I right?  If so, I can fix it, now that I know.

(One known flaw in the KISS package manager I use is if I install
something that changes an existing file it knows that and if I then pull
out the new package it doesn't delete the changed file because it
"belongs" to another package that installed it originally.  Fortunately
that doesn't happen very often.  There's no real good fix, restoring the
owning package is PROBABLY the answer, but not without checking!)
-- 
Paul Rogers
[email protected]
http://www.xprt.net/~pgrogers/
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)

        

-- 
http://www.fastmail.com - Email service worth paying for. Try it for free

-- 
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

Reply via email to