Last change
on this file since 207b438 was
a954b24,
checked in by Andrew Bradford <andrew@…>, 10 years ago
|
copylibs: Ensure cp uses -P to preserve symlinks
Or else /lib dir on target will be ugly and wrong.
|
-
Property mode set to
100644
|
File size:
795 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 -vP ${CLFS}/cross-tools/${CLFS_TARGET}/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.