From owner-freebsd-questions@FreeBSD.ORG Mon Dec 20 13:21:19 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 EF02216A4CE for ; Mon, 20 Dec 2004 13:21:19 +0000 (GMT) Received: from natnoddy.rzone.de (natnoddy.rzone.de [81.169.145.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4254743D1D for ; Mon, 20 Dec 2004 13:21:19 +0000 (GMT) (envelope-from karsten_fuhrmann@cartoon-film.de) Received: from [192.168.0.72] (pD9E76A4F.dip.t-dialin.net [217.231.106.79]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id iBKDLGVF021201 for ; Mon, 20 Dec 2004 14:21:17 +0100 (MET) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <08037F38-528A-11D9-A7D1-000A95DC1E96@cartoon-film.de> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions@freebsd.org From: Karsten Fuhrmann Date: Mon, 20 Dec 2004 14:21:17 +0100 X-Mailer: Apple Mail (2.619) Subject: linking problem 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: Mon, 20 Dec 2004 13:21:20 -0000 Hello, i want to compile a c program with both static and dynamic linking in the same program, e.g. i want to link against LIB_A static but against LIB_B shared. I dicovered the static and dy options in ld but it seems to me that it is only possible to link at whole static or dynamic, but not mixed. Greetings, Karsten Fuhrmann Karsten Fuhrmann System Administration Tel. +49 30 698084-109 Fax. +49 30 698084-29 email: karsten_fuhrmann@cartoon-film.de Cartoon-Film Thilo Graf Rothkirch Bergmannstr. 68 D-10961 Berlin Germany