Changeset b608a6d in clfs-embedded


Ignore:
Timestamp:
Oct 16, 2013, 11:36:23 AM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
d22b691
Parents:
b748208
Message:

libc: Create symlinks for musl ld

Just create one for each arch, that's the easy way out :)

Making this more elegant would be nice, but also doing what musl
recommends in their INSTALL file of creating an /etc/ld-musl-$ARCH.path
file with the proper shared library search path.

Location:
BOOK
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cleanup/copylibs.xml

    rb748208 rb608a6d  
    1515    copied to the target:</para>
    1616
    17 <screen><userinput>cp -v ${CLFS}/cross-tools/${CLFS_TARGET}/lib/*.so ${CLFS}/targetfs/lib/</userinput></screen>
     17<screen><userinput>cp -v ${CLFS}/cross-tools/${CLFS_TARGET}/lib/*.so* ${CLFS}/targetfs/lib/</userinput></screen>
    1818
    1919  <para>Optionally, strip the libraries to reduce their size:</para>
  • BOOK/cross-tools/common/libc.xml

    rb748208 rb608a6d  
    4343
    4444<screen os="j"><userinput>make install</userinput></screen>
     45
     46    <para os="k">Make the proper symlinks for the dynamic loader such that
     47      dynamically linked executables properly find the musl ld:</para>
     48
     49<screen os="m"><userinput>ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-arm.so.1
     50ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-armhf.so.1
     51ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-i386.so.1
     52ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-mips.so.1</userinput></screen>
    4553
    4654  </sect2>
Note: See TracChangeset for help on using the changeset viewer.