[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Size and dependencies of bit.dll (LuaForWindows)
- From: J.Jørgen von Bargen <jjvb.primus@...>
- Date: Mon, 27 Sep 2010 10:03:23 +0000 (UTC)
Rob Kendrick <rjek <at> rjek.com> writes:
>
> On Mon, Sep 27, 2010 at 09:26:25AM +0000, J.Jørgen von Bargen wrote:
> > bit.c
> > 180,192d177
> > + #ifdef _WIN32
> > + #pragma comment(linker, "/OPT:NOWIN98")
>
> This will no doubt annoy people on Windows who do not use Microsoft's
> toolchain.
Well, I assume they would not use MSVCBUILD.BAT and have no _WIN32 :-)
else change to #if defined(_WIN32) && defined(_MSC_VER)
> > And WOW, this reduced bit.dll from 20480 to 4096 bytes
> But we've wasted more than is ever likely to be saved by talking about
> it :)
Unneeded DLLs dependencies are a source of pain, so I try to avoid them
where ever possible. And specialy the MSVC[mpr](71|80|90).dll gives headache
after a short and for a long time :-/
Regards