| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Wed, 19 Nov 2003 09:07:45 -0700 |
| From: | Nate Bohlmann <nbohlmann AT cso DOT atmel DOT com> |
| Subject: | Re: Problems with Make, VPATH and MS-DOS paths |
| In-reply-to: | <bpdoos$lls$3@sea.gmane.org> |
| To: | Shankar Unni <shankar AT cotagesoft DOT com> |
| Cc: | cygwin AT cygwin DOT com |
| Message-id: | <8WQ863YWR2ZA6VTGE31MG5YWR2U1ZB0.3fbb9551@marlin4> |
| Organization: | Atmel Corporation |
| MIME-version: | 1.0 |
| X-Priority: | 3 (Normal) |
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 AT cotagesoft DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |