On Tue, Nov 25, 2008 at 11:30:49PM +0100, Farkas Levente wrote:
Richard W.M. Jones wrote:
On Tue, Nov 25, 2008 at 06:34:20PM +0100, Farkas Levente wrote:
hi, a second try to make a common scripts. i hope it'll work. i still not enable mingw32.sh, but it also would be useful with this patch.
I don't have time now, but I will check this tomorrow.
Have you tried to use strace on mingw32-make? Last time I saw that the %{name} and %{version} macros were not being substituted into the variables on the make command line, which is why I rejected that patch.
i don't really understand it. i try this both from spec file and command line, but there is no %{name} and %{version} in it? what can i looking for in a strace output?
OK, that's encouraging, but I'll check for sure tomorrow. You need to do something like:
strace -f -o /tmp/log -s 4096 mingw32-make grep '%' /tmp/log | less
Rich.