> From: Gisle Vanem
> Date: Wed, 9 Dec 2015 20:41:33 +0100
>
> It's a PITA to capture stderr on cmd.
Not for some years. Just use 2>, like you'd do with a Unixy shell.
(But as you say, this is unrelated to the issue at hand.)
___
Bug-make mailing lis
David Boyce wrote:
> First, I think there’s some missing context as you seem to have an
> unusual environment. You’re mixing Unix (cat, rm) and Windows (link)
> invocations; is it Cygwin, GNUWin32, MKS, ???
Thanks for replying.
I'm on Windows 10 using CygWin32 tools together with MSVC tools. (no
> From: Gisle Vanem
> Date: Wed, 9 Dec 2015 18:20:47 +0100
>
> Eli Zaretskii wrote:
>
> > The Windows shell understands || and && between 2 commands. I think
> > you already know that, so I'm quite sure I'm missing something here,
> > because that's the first thing I'd try.
>
> There is no Win
Eli Zaretskii wrote:
> The Windows shell understands || and && between 2 commands. I think
> you already know that, so I'm quite sure I'm missing something here,
> because that's the first thing I'd try.
There is no Windows shell (cmd nor 4nt) involved here. I don't
have any 'SHELL' in the Makef
> From: Gisle Vanem
> Date: Wed, 9 Dec 2015 16:19:39 +0100
>
> I have a question regarding a GNU-make macro like this
> (which I use to link a MSVC .dll):
>
> define do_link_DLL
> link $(LDFLAGS) -dll -out:$(1) -implib:$(2) \
> -pdb:$(1:.dll=.pdb) -map:$(1:.dll=.map) $(3) > link.t
First, I think there’s some missing context as you seem to have an
unusual environment. You’re mixing Unix (cat, rm) and Windows (link)
invocations; is it Cygwin, GNUWin32, MKS, ???
Second, I suspect the macro is a red herring and thus this is not
really a “Macro question”. The macro should just e
I have a question regarding a GNU-make macro like this
(which I use to link a MSVC .dll):
define do_link_DLL
link $(LDFLAGS) -dll -out:$(1) -implib:$(2) \
-pdb:$(1:.dll=.pdb) -map:$(1:.dll=.map) $(3) > link.tmp
cat link.tmp >> $(1:.dll=.map)
rm -f $(2:.lib=.exp) link.tmp
e