From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Newsgroups: gmane.emacs.help Subject: Re: How to use shared object in elisp? Date: Mon, 16 Jul 2007 22:02:59 +0800 Organization: Bentium Ltd. (CN99) Message-ID: <87ir8k1m5o.fsf@cs.hit.edu.cn> References: <87y7hgepuh.fsf@cs.hit.edu.cn> <878x9gecsg.fsf@orme.bigwalter.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184596840 19953 80.91.229.12 (16 Jul 2007 14:40:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2007 14:40:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 16 16:40:39 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IARkZ-0008Sd-Vj for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Jul 2007 16:40:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IARkZ-000682-EA for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Jul 2007 10:40:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.cn99.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 222.171.7.209 Original-X-Trace: news.cn99.com 1184597350 29684 222.171.7.209 (16 Jul 2007 14:49:10 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Mon, 16 Jul 2007 14:49:10 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:tRWv53Dk+p6A2lbpwxOLAAO3clo= Original-Xref: shelby.stanford.edu gnu.emacs.help:150141 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45726 Archived-At: Maybe I should write the program in Common Lisp and communicate with emacs by socket. daniel@bigwalter.net (Daniel Jensen) writes: > Andy writes: > >> Can I use shared object in elisp? I have a libxxx.so written in C. And I >> want to write a interface in elisp. What should I do? > > You'll have to write a wrapper program and call that from Emacs Lisp.