From owner-freebsd-questions Wed Aug 7 19:03:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA25008 for questions-outgoing; Wed, 7 Aug 1996 19:03:51 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA24993 for ; Wed, 7 Aug 1996 19:03:46 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id VAA04239; Wed, 7 Aug 1996 21:03:41 -0500 (EST) From: "John S. Dyson" Message-Id: <199608080203.VAA04239@dyson.iquest.net> Subject: Re: Static/dynamic linking To: steve@emmert.com (Steve Emmert) Date: Wed, 7 Aug 1996 21:03:41 -0500 (EST) Cc: questions@freebsd.org In-Reply-To: from "Steve Emmert" at Aug 8, 96 01:23:46 am Reply-To: dyson@freebsd.org X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi all, > > Is there a way to make a executable that dynamic linked to the standard > libs and static linked to Motif libs. I am trying to make a port of > xmtoolbar, when I go -static my executable size jumps from 40Kbytes > to 1.7Mbytes 8-(. > The way that I do it is that I don't keep a copy of the Motif shared libs on my /usr/lib or /usr/X11R6/lib. John