On 3/2/06, Chakkaradeep C C <[EMAIL PROTECTED]> wrote:
>
> i got this error and i dont know what the problem is...
<snip>
> /tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
> cannot find -lstdc++
<snip>
> is this glibc or gcc not properly installed?

Potentially both.  Your toolchain is not adjusted.  See how it's
referencing ld under /tools/.../ld?  After Ch. 6.13 Re-adjusting the
Toolchain, gcc should be using the ld under /usr/...  Since the gcc in
Ch. 5 in /tools (which is where /tools/.../ld is looking) doesn't have
c++ support, ld cannot find libstdc++.  You need to go back to Ch.
6.13 and figure out what's going on.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to