help-make
[Top][All Lists]
Advanced

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

Re: make 3.81 giving error when PATH conatins ":"


From: Boris Godin
Subject: Re: make 3.81 giving error when PATH conatins ":"
Date: Fri, 13 Jun 2008 09:27:53 -0300
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Try to use $(subst) function in file name ( replace / by \ and /cygdrive/e by e: ). But it will not work if you are using multiple target patterns.
Cheers.

CN wrote:
Hi,

I am using make 3.81 with cygwin. I am trying to build files using cl.exe
and I am getting following error

$ make all
cl    -c -o /cygdrive/e/cnair/tmp/hai.o /cygdrive/e/cnair/tmp/hai.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86
Copyright (C) Microsoft Corporation 1984-2001. All rights reserved.

cl : Command line warning D4002 : ignoring unknown option
'/cygdrive/e/cnair/tmp
/hai.c'
cl : Command line error D2003 : missing source filename
make: *** [/cygdrive/e/cnair/tmp/hai.o] Error 2

Here c.exe cannot understand cygwin path format.

If I change my path to normal windows format(e:/cnair/tmp), then make is
giving me problem.

$ make all
Makefile:4: *** target pattern contains no `%'.  Stop.

Is there any solution which I can build files using c.exe and make in cygwin
?

Thanks and reagrds,
Chanthu




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





reply via email to

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