Date: Fri, 25 Oct 2002 17:58:23 +0200 (CEST) From: Nicolas Jombart <Nicolas.Jombart@hsc-labs.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/44465: Porter's handbook and binary stripping Message-ID: <20021025155823.E22BC15435@shiva.bouglou.net>
next in thread | raw e-mail | index | archive | help
>Number: 44465 >Category: docs >Synopsis: Porter's handbook and binary stripping >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 25 09:00:06 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Nicolas Jombart >Release: FreeBSD 4.7-PRERELEASE i386 >Organization: >Environment: System: FreeBSD shiva.bouglou.net 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #11: Mon Sep 16 12:03:20 CEST 2002 ecu@shiva.bouglou.net:/usr/obj/usr/src/sys/SHIVA i386 >Description: Porter's handbook says in 15.1 "do strip binaries", but INSTALL_PROGRAM will do it in any case via install(1). You can also see http://www.freebsd.org/cgi/query-pr.cgi?pr=42981 >How-To-Repeat: n/a >Fix: The proposed fix only remove this part, but some may prefer a quick note that says binaries are stripped on install. --- porters-hb.txt begins here --- ? docbook.css Index: book.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v retrieving revision 1.248 diff -u -r1.248 book.sgml --- book.sgml 2002/10/08 04:52:43 1.248 +++ book.sgml 2002/10/25 15:42:03 @@ -3938,22 +3938,6 @@ doing.</para> <sect1> - <title>Strip Binaries</title> - - <para>Do strip binaries. If the original source already strips the - binaries, fine; otherwise you should add a - <literal>post-install</literal> rule to it yourself. Here is an - example:</para> - - <programlisting>post-install: - strip ${PREFIX}/bin/xdl</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> - </sect1> - - <sect1> <title>INSTALL_* macros</title> <para>Do use the macros provided in <filename>bsd.port.mk</filename> --- porters-hb.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021025155823.E22BC15435>
