In LFS6.4 step 5.8.When having adjusted the toolchain,the dynamic linker in 
specs and in use(gcc -print-libgcc-file-name) is not the same.But why,despite 
the construction is ok(when chroot to ,all other constructions is ok )?


(gcc -print-libgcc-file-name is 
/home/lfs/mnt/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc.a)
cat `dirname $(gcc -print-libgcc-file-name)`/specs:


*link_emulation:
elf_i386

*dynamic_linker:
%{muclibc:%{mglibc:%e-mglibc and -muclibc used 
together}/lib/ld-uClibc.so.0;:/tools/lib/ld-linux.so.2}

*link_command:
%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:    %(linker) %l %{pie:-pie} %X %{o*} 
%{A} %{d} %{e*} %{m} %{N} %{n} %{r}


when running commmand gcc -dumpspecs | grep ld-linux.so.2 ,the result is:

%{muclibc:%{mglibc:%e-mglibc and -muclibc used 
together}/lib/ld-uClibc.so.0;:/lib/ld-linux.so.2}

Any one can tell me why?I think I don't comprehend whole progress,although I 
can run these commands correctly.
-- 
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