unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to use shared object in elisp?
@ 2007-07-16  8:04 Andy
  2007-07-16 12:46 ` Daniel Jensen
  2007-07-17  7:37 ` Anselm Helbig
  0 siblings, 2 replies; 6+ messages in thread
From: Andy @ 2007-07-16  8:04 UTC (permalink / raw)
  To: help-gnu-emacs


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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to use shared object in elisp?
  2007-07-16  8:04 How to use shared object in elisp? Andy
@ 2007-07-16 12:46 ` Daniel Jensen
  2007-07-16 14:02   ` Andy
  2007-07-17  7:37 ` Anselm Helbig
  1 sibling, 1 reply; 6+ messages in thread
From: Daniel Jensen @ 2007-07-16 12:46 UTC (permalink / raw)
  To: help-gnu-emacs

Andy <wangxinxi@cs.hit.edu.cn> 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to use shared object in elisp?
  2007-07-16 12:46 ` Daniel Jensen
@ 2007-07-16 14:02   ` Andy
  2007-07-16 14:34     ` Pascal Bourguignon
  0 siblings, 1 reply; 6+ messages in thread
From: Andy @ 2007-07-16 14:02 UTC (permalink / raw)
  To: help-gnu-emacs


Maybe I should write the program in Common Lisp and communicate
with emacs by socket.


daniel@bigwalter.net (Daniel Jensen) writes:

> Andy <wangxinxi@cs.hit.edu.cn> 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to use shared object in elisp?
  2007-07-16 14:02   ` Andy
@ 2007-07-16 14:34     ` Pascal Bourguignon
  0 siblings, 0 replies; 6+ messages in thread
From: Pascal Bourguignon @ 2007-07-16 14:34 UTC (permalink / raw)
  To: help-gnu-emacs

Andy <wangxinxi@cs.hit.edu.cn> writes:
> daniel@bigwalter.net (Daniel Jensen) writes:
>
>> Andy <wangxinxi@cs.hit.edu.cn> 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.
>
> Maybe I should write the program in Common Lisp and communicate
> with emacs by socket.

Yes, that would work.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to use shared object in elisp?
  2007-07-16  8:04 How to use shared object in elisp? Andy
  2007-07-16 12:46 ` Daniel Jensen
@ 2007-07-17  7:37 ` Anselm Helbig
  2007-07-17 11:16   ` Daniel Jensen
  1 sibling, 1 reply; 6+ messages in thread
From: Anselm Helbig @ 2007-07-17  7:37 UTC (permalink / raw)
  To: help-gnu-emacs

> 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?

Also check out SXEmacs which allows you to make calls into C libraries
directly. 

  http://www.sxemacs.org/

I haven't used it myself, though. 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to use shared object in elisp?
  2007-07-17  7:37 ` Anselm Helbig
@ 2007-07-17 11:16   ` Daniel Jensen
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Jensen @ 2007-07-17 11:16 UTC (permalink / raw)
  To: help-gnu-emacs

Anselm Helbig <anselm@chemie.fu-berlin.de> 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?
>
> Also check out SXEmacs which allows you to make calls into C libraries
> directly. 

Note that this is a fork of XEmacs, not GNU Emacs. FUT: comp.emacs if
you want to discuss it.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-07-17 11:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-16  8:04 How to use shared object in elisp? Andy
2007-07-16 12:46 ` Daniel Jensen
2007-07-16 14:02   ` Andy
2007-07-16 14:34     ` Pascal Bourguignon
2007-07-17  7:37 ` Anselm Helbig
2007-07-17 11:16   ` Daniel Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).