From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 12:19:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F11E16A4CE for ; Thu, 25 Nov 2004 12:19:55 +0000 (GMT) Received: from charm.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 612EC43D49 for ; Thu, 25 Nov 2004 12:19:55 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by charm.daemonsecurity.com (Postfix) with ESMTP id EE39517004 for ; Thu, 25 Nov 2004 13:19:51 +0100 (CET) Message-ID: <41A5CDE0.8090308@locolomo.org> Date: Thu, 25 Nov 2004 13:19:44 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041114 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Building base system with CFLAGS=-static X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 12:19:56 -0000 Hi, I am trying to build the base system statically linked to create an installation root file system. I have tried "make CFLAGS=-static buildworld", which fails. Building each program separately, in most cases it works with "make CFLAGS=-static" but some like systinstall, sh, csh and init fails. What is the suggested method to create a static built base system? Alternatively, how do I trace which libraries are used/needed? Thanks, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2