Date: Sun, 09 Apr 1995 17:51:39 -0700 From: "Jordan K. Hubbard" <jkh@freefall.cdrom.com> To: Brian Tao <taob@gate.sinica.edu.tw> Cc: FREEBSD-PORTS-L <freebsd-ports@FreeBSD.org> Subject: Re: mfsm 1.1 for FreeBSD Message-ID: <22571.797475099@freefall.cdrom.com> In-Reply-To: Your message of "Mon, 10 Apr 95 02:42:09 %2B0800." <Pine.BSI.3.91.950410023502.25114C-100000@aries.ibms.sinica.edu.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
> I wanted to link in the Motif libraries statically so I could run > it on my system, but unfortunately the size of the binary went from > 72K to around 1700K. :( Is there a better way to do this? Like > linking in only the routines needed by the program? The usual trick is to wrap -Bstatic and -Bdynamic lines around JUST the Motif libraries, so that you can leave all the other ones dynamic. Man ld for details.. :-) Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22571.797475099>