Last change
on this file since b748208 was 94e2400, checked in by Andrew Bradford <andrew@…>, 11 years ago |
Use ${CLFS}/cross-tools/${CLFS_TARGET} as sysroot dir
BUG: This uses ${CLFS_TARGET} before it is exported within materials
chapter for creating the sysroot directory!
|
-
Property mode
set to
100644
|
File size:
793 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/${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.