[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Adding module+DLL to Lua for Windows (LfW)
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 9 Dec 2009 14:02:24 +0200
On Wed, Dec 9, 2009 at 12:45 PM, Mike Pall <mikelu-0912@mike.de> wrote:
> heuristics than GCC -O3 (try -O2 plus selected -f options instead).
A little update: using -O3 with the other flags led to a somewhat
larger executable, but it ran at the same speed as the MSVC
executable. So now I'm satisfied ;)
On another note, the Windows .dll model is irritating because an
extension must be compiled to link against a specific .dll, unlike
with Unix where the extension finds its dependencies dynamically from
its link context. This makes it trivial to have both luajit and lua
executables together on Linux, but this would be a bitch to get right
on Windows.
steve d.