Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ../configure --prefix=${LFS}/tools
- --with-sysroot=$LFS
- --with-lib-path=${LFS}/tools/lib
- --target=$LFS_TGT
- --disable-nls
- --disable-werror
- x86_64-lfs-linux-gnu-ld: cannot find -lc
- x86_64-lfs-linux-gnu-ld: cannot find ${LFS}/tools/lib/libc.so.6 inside ${LFS}
- ../configure --prefix=${LFS}/tools
- --with-sysroot=$LFS
- --with-lib-path=tools/lib # this is changed
- --target=$LFS_TGT
- --disable-nls
- --disable-werror
- /* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
- OUTPUT_FORMAT(elf64-x86-64)
- GROUP ( ${LFS}/tools/lib/libc.so.6 ${LFS}/tools/lib/libc_nonshared.a AS_NEEDED ( ${LFS}/tools/lib/ld-linux-x86-64.so.2 ) )
- install: $(inst_libdir)/libc.so
- $(inst_libdir)/libc.so: $(common-objpfx)format.lds
- $(common-objpfx)libc.so$(libc.so-version)
- $(inst_libdir)/$(patsubst %,$(libtype.oS),
- $(libprefix)$(libc-name))
- $(+force)
- (echo '/* GNU ld script';
- echo ' Use the shared library, but some functions are only in';
- echo ' the static library, so try that secondarily. */';
- cat $<;
- echo 'GROUP ( $(slibdir)/libc.so$(libc.so-version)'
- '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'
- ' AS_NEEDED (' $(rtlddir)/$(rtld-installed-name) ') )'
- ) > $@.new
- mv -f $@.new $@
Add Comment
Please, Sign In to add comment