[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua and C++
- From: Viacheslav Usov <via.usov@...>
- Date: Mon, 30 Mar 2020 18:53:51 +0200
>That may be true in Windows.
That is certainly true in Windows.
> In Linux you need to link your application with -Wl,-E
The good thing is that in the ELF case one does not have to fiddle with the dynamic loader. The bad, one may need to fiddle with the compiler and the linker, because just using -E will export every symbol not declared as static, including those from third-party statically linked libraries, even those not used by the application. For C++ applications, this can inflate the resultant executable quite dramatically.