bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Nmake from GNU-make


From: Eli Zaretskii
Subject: Re: Using Nmake from GNU-make
Date: Wed, 24 Jun 2020 19:27:21 +0300

> From: Gisle Vanem <gisle.vanem@gmail.com>
> 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 Corporation.  All rights reserved.
> 
>    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
Make causes this problem?

> Rewriting to:
> 
> SHELL = cmd.exe:
> gnss_libf2c.lib:
>    cd libf2c & nmake.exe -nologo -f Makefile.VC all
>    cp libf2c/vcfc2.lib $@
> 
> gives the same error.

What happens if you use redirection, or in some other way force GNU
Make to invoke NMake via a batch file?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]