From owner-freebsd-questions@FreeBSD.ORG Tue Aug 21 20:10:13 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16C2B16A421 for ; Tue, 21 Aug 2007 20:10:13 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id B7C8D13C46C for ; Tue, 21 Aug 2007 20:10:12 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so217038anc for ; Tue, 21 Aug 2007 13:10:11 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jJmzT/Pg9UUm3byrmZurwEn5paGBhlKN4Z52UU+8OkDPmIXks1dxIX2Ia+F3+b8yiJcLQhWzEYhNv//5Wwz5mKUC6+8DjI9HhwzZZ+JjtEmMweqx1QuIjUJ9Aiw0nzj3Bi27IHgEs+PweYEY8NLLg+5dJoiAN2d0iDelzLjB4Mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cbi8WoO49et7OKkAUi2R//fNWAygDQJ8sNeBGct5m+GphREBprp3qXWpqjYytxaRENDzKQLCelGDo/YxPyy+HgIPI9LrN1YGcq2Cj9jBZAuGRk2iP0ANZ/lhMimo4eJFi6OwIvjePSevKWKEJtUvQVt2qVkKxTccQLHqgNq1oKA= Received: by 10.90.90.3 with SMTP id n3mr2777863agb.1187725558639; Tue, 21 Aug 2007 12:45:58 -0700 (PDT) Received: by 10.35.128.7 with HTTP; Tue, 21 Aug 2007 12:45:58 -0700 (PDT) Message-ID: <8cb6106e0708211245j696d528dte7df7af23ca64c83@mail.gmail.com> Date: Tue, 21 Aug 2007 15:45:58 -0400 From: "Josh Carroll" To: "Dan Mahoney, System Admin" In-Reply-To: <20070821135923.Q64507@prime.gushi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070821135923.Q64507@prime.gushi.org> Cc: questions@freebsd.org, dougb@freebsd.org Subject: Re: Building UNSTRIPPED binaries in ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 20:10:13 -0000 > Is there some make.conf or compile time flag that I can set that would > prevent the stripping from happening? > > Or would I just have to manually edit the makefile someplace -- and if so, > can anyone give a pointer as to where? Setting the strip command to > /bin/true or something, perhaps -- but I can't be sure if the > strip_command is being used. A quick perusal of /usr/ports/Mk/bsd.port.mk shows this: # WITH_DEBUG - If set, debugging flags are added to CFLAGS and the # binaries don't get stripped by INSTALL_PROGRAM. # Besides, individual ports might add their specific # to produce binaries for debugging purposes. # You can override the debug flags that are passed to # the compiler by setting DEBUG_FLAGS. It is set to # "-g" at default. so try adding WITH_DEBUG... Josh