From owner-freebsd-questions Wed Aug 7 18:53:17 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA24183 for questions-outgoing; Wed, 7 Aug 1996 18:53:17 -0700 (PDT) Received: from dns2.noc.best.net (dns2.noc.best.net [206.86.0.21]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA24177 for ; Wed, 7 Aug 1996 18:53:15 -0700 (PDT) Received: from shellx.best.com (shellx.best.com [206.86.0.11]) by dns2.noc.best.net (8.6.12/8.6.5) with ESMTP id SAA18014 for ; Wed, 7 Aug 1996 18:53:14 -0700 Received: from free.emmert.com (emmert.vip.best.com [204.156.142.218]) by shellx.best.com (8.6.12/8.6.5) with SMTP id SAA10726 for ; Wed, 7 Aug 1996 18:23:56 -0700 Date: Thu, 8 Aug 1996 01:23:46 -0700 (PDT) From: Steve Emmert To: questions@freebsd.org Subject: Static/dynamic linking Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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-(. --Steve Steve Emmert steve@emmert.com ---------------------------------------------------------------------------- If the designers of X Windows built cars, there would be no fewer than five steering wheels hidden about the cockpit, none of which followed the same principles---but you'd be able to shift gears with your car stereo. Useful feature, that. -Marcus J. Ranum