[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: compiling lua-5.0-alpha
- From: Ignacio Castaño <castanyo@...>
- Date: Tue, 17 Dec 2002 00:25:06 +0100
Hi Christof,
I assume you are using dllwrap to create the dynamic link libraries. If you
are exporting only a given set of symbols, then you are probably using the
'--no-export-all-symbols' option. By default dllwrap creates libraries that
mimic the dlfcn behaviour, that is all symbols are exported.
I usually do like you and only export the public symbols. However, I link
luac statically. It uses only a reduced part of the core, so its size is not
too big.
Ignacio Castaño
castanyo@yahoo.es
GMX wrote:
> Now, if I want luac.exe to use the same lua core in lua.dll as lua.exe
does,
> I have to export luaU_endianness, luaF_newproto, luaS_newlstr,
luaM_realloc
> from lua.dll to overcome binding errors.
> That doesn't really matter, except it breaks the naming convention
luaL_...
> and lua_...
> for public symbols.
>
> Is there a way to avoid this and still use the same core ?
>
> Thanks
> /Christof
>
> BTW: I'm using the cygwin compiler, but this should be irrelevant ?
>
___________________________________________________
Yahoo! Sorteos
Consulta si tu número ha sido premiado en
Yahoo! Sorteos http://loteria.yahoo.es