. > As how to automate the setting of rpath under gcc, I guess you can with > the specs, but I have never done it.
these lines in the specs file: *link_libgcc: %D can be changed to: *link_libgcc: %D -rpath <lib dir>/lib/%M Apparently %M expands to either ../lib or ../lib64 depending on 32 or 64 bit arch. Unfortunately libc.so.6 is still coming from /lib64 and I haven't found a way to change that yet. Still trying things though. jb. > You can see what the actual call to ld (collect2) is by running "gcc > -v". And you can add -Wl,-verbose (the l in the preceding is "ell"), to > see what ld is actually doing. > -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
