FreeBSD Bugzilla – Attachment 110755 Details for
Bug 151953
[PATCH] Porter's Handbook: document INSTALL_LIB and minor fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
book.sgml.patch
book.sgml.patch (text/plain), 2.00 KB, created by
Sunpoet Po-Chuan Hsieh
on 2010-11-05 01:40:08 UTC
(
hide
)
Description:
book.sgml.patch
Filename:
MIME Type:
Creator:
Sunpoet Po-Chuan Hsieh
Created:
2010-11-05 01:40:08 UTC
Size:
2.00 KB
patch
obsolete
>Index: book.sgml >=================================================================== >RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v >retrieving revision 1.1077 >diff -u -r1.1077 book.sgml >--- book.sgml 4 Oct 2010 01:23:59 -0000 1.1077 >+++ book.sgml 4 Nov 2010 16:49:35 -0000 >@@ -4106,6 +4106,11 @@ > </listitem> > > <listitem> >+ <para><makevar>INSTALL_LIB</makevar> is a command to install >+ shared libraries.</para> >+ </listitem> >+ >+ <listitem> > <para><makevar>INSTALL_KLD</makevar> is a command to install > kernel loadable modules. Some architectures don't like it when > the modules are stripped, therefor use this command instead >@@ -4129,18 +4134,19 @@ > </sect2> > > <sect2 id="install-strip"> >- <title>Stripping Binaries</title> >+ <title>Stripping binaries and shared libraries</title> > > <para>Do not strip binaries manually unless you have to. All binaries >- should be stripped, but the <maketarget>INSTALL_PROGRAM</maketarget> >- macro will install and strip a binary at the same time (see the next >- section).</para> >- >- <para>If you need to strip a file, but do not wish to use the >- <makevar>INSTALL_PROGRAM</makevar> macro, >- <makevar>${STRIP_CMD}</makevar> will strip your program. This is >- typically done within the <literal>post-install</literal> >- target. For example:</para> >+ should be stripped, but the <makevar>INSTALL_PROGRAM</makevar> macro >+ will install and strip a binary at the same time (see the next >+ section). The <makevar>INSTALL_LIB</makevar> macro does the same thing >+ to shared libraries.</para> >+ >+ <para>If you need to strip a file, but wish to use neither >+ <makevar>INSTALL_PROGRAM</makevar> nor <makevar>INSTALL_LIB</makevar> >+ macros, <makevar>${STRIP_CMD}</makevar> will strip your program or >+ shared library. This is typically done within the >+ <maketarget>post-install</maketarget> target. For example:</para> > > <programlisting>post-install: > ${STRIP_CMD} ${PREFIX}/bin/xdl</programlisting>
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 151953
: 110755