🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6371

Static and dynamic linking

#6371
From: Mike Holck - NSE
Date: Wed, 06 Dec 1995 00:00
5 lines
843 bytes
  I see no way of linking some libraries statically and the rest dynamically it seems that you can only link them all statically or all dynamically.  With some compiler this is done as so:
	cc -o executable source -Bstatic -lXm -Bdynamic -lXt -lX11
  This allows only the Motif library to be statically linked while the Intrinsics and Xlib library are still dynamically linked.

  Is this a bug, or an oversight on my part?
Technical Details
Message-ID: <199512062047.OAA26502@fs07.glitsch.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,166d55491665feb,start
X-Google-Attributes: gid113d02,public
From: mholck@glitsch.com (Mike Holck - NSE)
Subject: Static and dynamic linking
Date: 1995/12/06
Message-ID: <199512062047.OAA26502@fs07.glitsch.com>
X-Deja-AN: 121063358
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: GNUs Not Usenet
newsgroups: gnu.gcc.bug