On Thu, 13 Sep 2018 08:41:55 +0200
Jakob Eriksson <[email protected]> wrote:

> The 32 bit version was simple to link with other programs when I
> tried it several years ago.
> 

No worries there :)


> > 13 sep. 2018 kl. 06:59 skrev Alexander Burger <[email protected]>:
> > 
> > Hi Johan,
> >   
> >> 
> >> Is there a way of embedding the 64-bit version in a C-program, or  
> > 
> > As freemint said, this is not possible, or at least not meaningful.
> > That is, of course you are free to link it to some other program,
> > but what would you want to call from it? It makes no sense to call
> > isolated functions inside the interpreter, without the whole Lisp
> > context.
> > 
> >   

My intention was to embed the interpreter into an existing C-program,
and poke at it via the (native "@" ...)-call. It's such an attractive
prospect.

> >> statically link C-libraries to the executable? I'd love to have  
> > 
> > This is possible, if you write a library in ASM (analog to @lib/ext
> > and @lib/ht) and link it not as a shared object file but statically.
> > 
> > ☺/ A!ex
> > 

Ah, finally I got a reason to get my hands dirty in assembler again :)

I guess my intention of linking stuff into the pil-binary was a matter
of packaging up stuff, but that still leaves the lisp-code out in the
cold, so it doesn't matter anyway.

/ Johan

--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe

Reply via email to