source: clfs-embedded/BOOK/cleanup/copylibs.xml @ d6d3617

Last change on this file since d6d3617 was d6d3617, checked in by Andrew Bradford <andrew@…>, 11 years ago

cleanup: Copy libs to target

  • Property mode set to 100644
File size: 786 bytes
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-cleanup-copy-libs">
9  <?dbhtml filename="copylibs.html"?>
10
11  <title>Copy Libraries</title>
12
13  <para>Since the cross compiler was built within
14    <filename>${CLFS}/cross-tools</filename>, the generated libraries need to be
15    copied to the target:</para>
16
17<screen><userinput>cp -v ${CLFS}/cross-tools/sysroot/lib/*.so ${CLFS}/targetfs/lib/</userinput></screen>
18
19  <para>Optionally, strip the libraries to reduce their size:</para>
20
21<screen><userinput>${CLFS_TARGET}-strip ${CLFS}/targetfs/lib/*</userinput></screen>
22
23</sect1>
Note: See TracBrowser for help on using the repository browser.