On Thu, Jul 15 2010, Taco Hoekwater wrote:

> > gcc -shared -o testmod.so testmod.c /usr/lib/liblua.dll.a
> 
> On Linux, the .so does not need a liblua dependency.

Indeed, I only need it on cygwin.


> The test works fine with just
> 
>   gcc -shared -o testmod.so testmod.c
> 
> I tried to reproduce what you did in mingw32-cross + wine,
> and that worked as well (but with .dll instead of .so).
> 
> I have no idea what is wrong with cygwin, and no way to test it.

I suppose, that the testmod.so has some dependency on cygwin libraries, and
this causes trouble because luatex is not cygwin aware.

But see my other message for the solution: luatex compiles without problems
under cygwin.

Thanks for your efforts!
Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to