Re: Static lib Linker error under win32

  • From: Mike Pall <mike-1208@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 3 Aug 2012 17:00:41 +0200

rob wrote:
> >Umm, you're not including libgcc in your static link?
> Shouldn't LuaJit's makefile link to all dependencies, e.g. libgcc,
> msvcrt, etc? I'd assume getting a static library that includes every
> dependent lib.

Static libraries include missing symbols, but not dependencies.
Also, libgcc is an implicit dependency for some (but not all)
GCC-generated code. So if you use GCC for linking it ought to be
included, anyway.


Other related posts: