FreeBSD Bugzilla – Attachment 140026 Details for
Bug 186466
[PATCH] book.xml Stripping Binaries and Shared Libraries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
porters-handbook_book.xml.diff
porters-handbook_book.xml.diff (text/x-diff; charset=us-ascii), 1.27 KB, created by
Rusmir Dusko
on 2014-02-05 14:31:32 UTC
(
hide
)
Description:
porters-handbook_book.xml.diff
Filename:
MIME Type:
Creator:
Rusmir Dusko
Created:
2014-02-05 14:31:32 UTC
Size:
1.27 KB
patch
obsolete
>Index: en_US.ISO8859-1/books/porters-handbook/book.xml >=================================================================== >--- en_US.ISO8859-1/books/porters-handbook/book.xml (revision 43779) >+++ en_US.ISO8859-1/books/porters-handbook/book.xml (working copy) >@@ -5096,11 +5096,20 @@ > example:</para> > > <programlisting>post-install: >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xdl</programlisting> >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}</programlisting> > >- <para>Use the &man.file.1; command on the installed executable >- to check whether the binary is stripped or not. If it does >- not say <literal>not stripped</literal>, it is stripped. >+ <para>When more than one file needs to be stripped, like several >+ shared libraries, loop through them:</para> >+ >+ <programlisting>post-install: >+ .for l in geometry media body track world >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-${l}.so.0 >+ .endfor</programlisting> >+ >+ <para>Use &man.file.1; on the installed executable >+ to check whether it has been stripped. >+ Binaries that have not been stripped will be reported by &man.file.1; >+ as <literal>not stripped</literal>. > Additionally, &man.strip.1; will not strip a previously > stripped program; it will instead exit cleanly.</para> > </sect2>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 186466
:
140025
| 140026