On May 7, 2014, at 3:34 PM, Koornstra, Reinoud wrote:

Hi William,

I looked in the patch you wrote for gcc in gcc/config/aarch64/ aarch64-linux.h for example

#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux-aarch64.so.1"

You added /tools in front of /lib
Does this only work, because you did:

ln -sv ${CLFS}/tools /

if you didn't make this link you'd have to change this with:

#define GLIBC_DYNAMIC_LINKER "/mnt/clfs/tools/lib/ld-linux- aarch64.so.1"

Correct?
Thanks,

Reinoud.


It needs to be that way because the sysroot is at ${CLFS}/tools, but the interpreter is to be at /tools/lib{32,64} respectively for multilib and mips

Without /tools in the gcc specs, he host would be used, we don' want that. When a person uses the boot method or chroot method, the toolchain needs to be using /tools (which is /mnt/clfs/tools when not chrooted or booted into the temp system).

Sincerely,

William Harrington
_______________________________________________
Clfs-support mailing list
Clfs-support@lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to