This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with Make, VPATH and MS-DOS paths


Thanks everyone for your help.  Turns out that the backquoting specified here 
won't work to a shell incompatibility (I don't care to fix this now).  However, 
$(shell ... ) does work so thanks.

Nate

11/18/03 11:35:07 AM, Shankar Unni <shankar@cotagesoft.com> wrote:

>Nate Bohlmann wrote:
>
>> How exactly does a command line tool help with VPATH'ing inside of Make?
>
>You use cygpath to generate names to pass to your broken compiler. (Yes,
>broken - Win32, and most tools running on it like VC++, are perfectly
>happy with "/" as path separators).
>
>I.e. instead of just doing
>
>.c.o:
>	$(BROKENCOMPILER) -c $? -o $*.o		# or whatever
>
>You do
>
>.c.o:
>	$(BROKENCOMPILER) -c `cygpath -w $?` -o `cygpath -w $*`.o
>
>(Those are back-quotes, by the way).
>
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>
>
>




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]