Re: Using Nmake from GNU-make

2020-06-24 Thread Gisle Vanem
Eli Zaretskii wrote: gnss_libf2c.lib: cd libf2c ; nmake.exe -nologo -f Makefile.VC all cp libf2c/vcfc2.lib $@ but Nmake errors with: Microsoft (R) Program Maintenance Utility Version 14.26.28806.0 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal

Re: Using Nmake from GNU-make

2020-06-24 Thread Eli Zaretskii
> Date: Wed, 24 Jun 2020 19:27:21 +0300 > From: Eli Zaretskii > Cc: bug-make@gnu.org > > >NMAKE : fatal error U1065: invalid option '-' > >Stop. > > Does this happen even if you remove the "cd libf2c" part? That is, > are you saying that any invocation of NMake from a MinGW-built GNU >

Re: Using Nmake from GNU-make

2020-06-24 Thread Eli Zaretskii
> From: Gisle Vanem > Date: Wed, 24 Jun 2020 18:05:12 +0200 > > gnss_libf2c.lib: >cd libf2c ; nmake.exe -nologo -f Makefile.VC all >cp libf2c/vcfc2.lib $@ > > but Nmake errors with: >Microsoft (R) Program Maintenance Utility Version 14.26.28806.0 >Copyright (C) Microsoft

Re: Using Nmake from GNU-make

2020-06-24 Thread Daniel Herring
Hi Gisle, I seem to remember DOS having different command-line parsing semantics. Maybe quoting the parameters differently would help? Something like the following. gnss_libf2c.lib: cd libf2c ; nmake.exe "-nologo -f Makefile.VC all" cp libf2c/vcfc2.lib $@ If that doesn't work, one of

Using Nmake from GNU-make

2020-06-24 Thread Gisle Vanem
Hello list. Now I have the need to use an already quite large Makefile written for Microsoft's 'NMake', from within GNU-make 4.390. Like: gnss_libf2c.lib: cd libf2c ; nmake.exe -nologo -f Makefile.VC all cp libf2c/vcfc2.lib $@ but Nmake errors with: Microsoft (R) Program Maintenance