From owner-freebsd-ports@FreeBSD.ORG Tue Dec 4 18:53:34 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA9FC16A41B for ; Tue, 4 Dec 2007 18:53:34 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (thingy.kcilink.com [74.92.149.59]) by mx1.freebsd.org (Postfix) with ESMTP id 9100E13C46B for ; Tue, 4 Dec 2007 18:53:34 +0000 (UTC) (envelope-from vivek@khera.org) Received: from host-121.int.kcilink.com (host-121.int.kcilink.com [192.168.7.121]) by yertle.kcilink.com (Postfix) with ESMTP id B2B33C943A for ; Tue, 4 Dec 2007 13:53:33 -0500 (EST) Message-Id: <6D39A2CB-A08E-4FBB-8EC3-23B943F4141C@khera.org> From: Vivek Khera To: freebsd ports In-Reply-To: <4755A050.2080907@chuckr.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Tue, 4 Dec 2007 13:53:33 -0500 References: <475469C2.6040603@chuckr.org> <4755A050.2080907@chuckr.org> X-Mailer: Apple Mail (2.915) Subject: Re: has FreeBSD's libc been swigged? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2007 18:53:34 -0000 On Dec 4, 2007, at 1:45 PM, Chuck Robey wrote: > Vivek Khera wrote: >> On Dec 3, 2007, at 3:40 PM, Chuck Robey wrote: >>> Need to do some python work, using a lot of FreeBSD's base libs, >>> and I was wondering, if any ports have swigged the FreeBSD libs? >>> I'll do it if I must, just trying to save me some work. >>> >> Not understanding your use of the word "swigged", all I can say is >> that the ports do not touch the system libraries except in the rare >> case of things like openssl which have the _option_ to install on >> top of the system ssl libraries. > > devel/swig is a well-known interface generator, which automates > writing the interfaces, so that the scripting languages can make > direct use of compiled languaes. My particular target is to get > python to use FreeBSD llibraries, so your comment is amiss in this > case, although you are correct in general.. Aha! Well, I've even used SWIG in the past with perl, but I didn't catch the connection. Thanks!