[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: building on MinGW (Re: [ANN] Lua 5.1.5 (rc1) now available)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 12 Feb 2012 21:56:33 -0200
> When changing a few files on Windows (MinGW) and re-running make, the
> following rule causes an error:
>
> >$(LUA_A): $(CORE_O) $(LIB_O)
> > $(AR) $@ $?
> > $(RANLIB) $@
>
> "$?" gives only the recently changed files but MinGW needs all files
> ("$^") to build the DLL. This will cause a lot of "undefined reference
> to..." errors.
>
> (I think this problem was already described by others, but I didn't find
> the threads now.)
Yes, see http://lua-users.org/lists/lua-l/2012-01/msg00582.html
So, is removing the DLL before compiling the right solution?